-
Notifications
You must be signed in to change notification settings - Fork 161
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
Date picker applies non-date mask when dropdown mode is set after init #6749
Comments
There has been no recent activity and this issue has been marked inactive. |
There has been no recent activity and this issue has been marked inactive. |
There has been no recent activity and this issue has been marked inactive. |
There has been no recent activity and this issue has been marked inactive. |
The issue will be tackled in #6483 |
There has been no recent activity and this issue has been marked inactive. |
There has been no recent activity and this issue has been marked inactive. |
Description
When the
mode
option is changed todropdown
after control init, the picker applies a mask that's not a date (theigxMask
default)Steps to reproduce
Result
The editor displays the date correctly as "5/15/19", but when you focus there's no value and the placeholder shows the underlying mask as "CCCCCCC..":
Also if you clear the editor and focus again, the picker throws a parsing error:
Expected result
The editor should work the same as if
mode="dropdown"
has been assigned intially, formatting the date as "_5/15/2019" when focused and display an empty mask (__/__/____
) for cleared.The text was updated successfully, but these errors were encountered: