Existing Component
Yes
Component Name
DatePicker
Description
Hi,
I am using the latest version of the library.
Attributes: value-format = 'yyyy-MM-dd'
Sometimes users enter from the keyboard and make mistakes with a separator. How can I process the entered data? onChange does not work.
3条答案
按热度按时间i5desfxk1#
@YaProof I'm looking into a similar issue and noticed that if you bind a method to
@change.native
, then you can access the user's input and manipulate it.Example:
My issue is that in Element version 2.7, Element automatically converted 01012020 to 01/01/2020, but as of 2.13 it does not any more....
mctunoxg2#
@freeman-g Thanks, this will solve my problem.
3z6pesqy3#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.