๐ - `Date` with partially completed value has autofill problems in Firefox
kornblum opened this issue ยท 2 comments
Which package(s) are the source of the bug?
@maskito/kit
Playground Link
https://stackblitz.com/edit/sw2whh
Description
In Firefox there is a problem that the auto-fill function does not work as expected. You can also reproduce the problem with the link I provided. If the field is empty and you accept the browser suggestion, then everything looks correct. However, if you enter a value such as "1" beforehand and then select the browser suggestion, the date is displayed incorrectly (see screenshots).
However, the problem does not occur in all browsers. For example, it works correctly in Chrome.
Maskito version
2.4.0
Which browsers have you used?
- Chrome
- Firefox
- Safari
- Edge
Which operating systems have you used?
- macOS
- Windows
- Linux
- iOS
- Android
@kornblum Unfortunately, I cannot open your url (it returns 403 error).
Create reproduction using Stackblitz Starter, please:
https://maskito.dev/stackblitz
@nsbarsukov sure. https://stackblitz.com/edit/sw2whh
I recommend entering a date first and then submitting the form. The browser should then suggest the value the next time you enter it.