Closed nickvleeuwen closed 7 months ago
@Jasenkoo, Thanks for the update, it still works a bit off tho, especially when used with a different format for the text-input and normal display.
When I click the input it transforms the display format to the text-input format, then selects the text to the left of the position I clicked. But since I clicked before the transform it is hard to know what is going to selected since I can't see the transformed text. My preference would be always to select all text. That way I can just always click anywhere in the input and start typing.
Describe the bug Text-input mode configuration 'selectOnFocus' does not work when used in combination with text-input mode configuration 'format'.
To Reproduce Steps to reproduce the behavior:
Create an VueDatepicker as shown below.
Expected behavior When I click on de input, i see the transformed date (format dd-MM-yyyy) selected in the input.