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
Date is not a valid type when working with forms. In your case RawModel casts the received String value into Date and since everything you write represent an invalid date value, it always return null. Also note that a form will post your dataStart as String and you will use RawModel on the server to cast that value into a valid Date object.
Btw... you can paste (cmd+v) a valid date string (e.g. Fri Jun 16 2017 16:08:13 GMT+0200 (CEST)) into the field and it will work but you can not write it. You will need to use a special vue date component.
So in this case I can only do validation on a valid date instance. If I want to validate the input string format, I have to use String and do the conversion somewhere else, right?
I've tried to setup a date field, but the
v-model
seems to give me trouble. With following code, I simply cannot type anything to the text input.example link: https://www.webpackbin.com/bins/-KmkBG8Nku2cQp0DVO_m
The text was updated successfully, but these errors were encountered: