Server sends date in this format and i don't want to create computed properties for correcting date. Now I am using another datepicker (https://github.com/mengxiong10/vue2-datepicker) and it show this date correctly, but I want to reduce project dependencies and use all components of BV.
The text was updated successfully, but these errors were encountered:
Currently it supports the format supported by native HTML5 date type input (YYYY-MM-DD) which doesn't support date strings with time portions).
But we might be able to modify the input check regular expression to ignore anything after the first whitespace character, although it will probably trigger an unintended change event since the supplied value will be different than the internal parsed value.
But the current workaround would be a computed prop that strips anything from the whitespace onwards, or use a method to pre-massage the data from the server.