-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DatePicker: add setAutoSelect API #1110
Comments
+1 |
This is actually implemented in Vaadin 22 on the web component side vaadin/web-components#2750 The only remaining change is to copy |
This should be added for |
Adding my vote for this enhancement. |
Here is a static helper for
|
When focusing the date picker, it should be possible to automatically select the text that is in the component, similarly to what
textField.setAutoselect(true)
does.A workaround exists by adding a focus listener that executes JS that does
this.$.input.inputElement.select()
- but this relies on the internals of the component.The text was updated successfully, but these errors were encountered: