Replies: 1 comment
-
Just one person's opinion: yes. Which ever field sets the date last should win, no matter how it is set. OnBlur for the input field fixes this. Would On Change work better to set the value? On Change accounts for pastes as well. Imagine a person grabbing a date from a document, pasting it into the input and clicking submit. That's a pretty common thing to do. I wouldn't think to paste, hit enter, then click submit. Plus, think of people using a keyboard. They are used to tabbing through form fields so won't hit enter when they are done typing. I'd say if the only way the model is updated is if the person hits enter, then there are two very common ways to break this. |
Beta Was this translation helpful? Give feedback.
-
In 3.7.6 you can use this to click and pop up a date picker, but the text field allows input as well. Should it set the value on blur as well as pressing return to leave the field like a v-text-input would for consistency. Can be confusing when you change it and move away without hitting enter. The field shows the new value but hasn't passed it to to the v-model.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions