File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,21 @@ class DatePicker extends DatePickerMixin(InputControlMixin(ThemableMixin(Element
113
113
super . ready ( ) ;
114
114
115
115
this . addController (
116
- new InputController ( this , ( input ) => {
117
- this . _setInputElement ( input ) ;
118
- this . _setFocusElement ( input ) ;
119
- this . stateTarget = input ;
120
- this . ariaTarget = input ;
121
- } ) ,
116
+ new InputController (
117
+ this ,
118
+ ( input ) => {
119
+ this . _setInputElement ( input ) ;
120
+ this . _setFocusElement ( input ) ;
121
+ this . stateTarget = input ;
122
+ this . ariaTarget = input ;
123
+ } ,
124
+ {
125
+ // The "search" word is a trick to prevent Safari from enabling AutoFill,
126
+ // which is causing click issues:
127
+ // https://github.com/vaadin/web-components/issues/6817#issuecomment-2268229567
128
+ uniqueIdPrefix : 'search-input' ,
129
+ } ,
130
+ ) ,
122
131
) ;
123
132
this . addController ( new LabelledInputController ( this . inputElement , this . _labelController ) ) ;
124
133
You can’t perform that action at this time.
0 commit comments