You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
input text remain blank (or with older value of form data) if date field is on sub-property of form. For example date works if i have a filed like: form.date
but it doesn't works if is on: form.subfield.date
In Vue debug console i see the form field is correcly compiled, but i can't see on browser input date filled.
Vue2-datepicker version: 3.11.1
Vue version: 2.7.14
Browser: Chrome 121.0.6167.184
Steps to reproduce
input text remain blank (or with older value of form data) if date field is on sub-property of form. For example date works if i have a filed like:
form.date
but it doesn't works if is on:
form.subfield.date
In Vue debug console i see the form field is correcly compiled, but i can't see on browser input date filled.
Reproduction Link or Source Code
Working Code:
<vue-date-picker v-model="form.date" value-type="YYYY-MM-DD" format="YYYY-MM-DD" input-class="px-2 py-1 outline-none" popup-class="" />
Not working code:
<vue-date-picker v-model="form.subfield.date" value-type="YYYY-MM-DD" format="YYYY-MM-DD" input-class="px-2 py-1 outline-none" popup-class="" />
I already tried to force update with change event, but unsuccessfully.
Expected behavior
Date field input field filled with new selected date.
Actual behavior
Date input field doen't populate with new selected date.
The text was updated successfully, but these errors were encountered: