Hello, I started using the vue2-datepicker on a project and I am getting a readonly version of the datepicker on a particular instance of the component. Which is really strange.
I have a few other datepickers on the same vue file and they behave correctly, but this particular one does not, by default it makes it readonly="readonly".
Also, is there a way to pass an ID to the generated input field instead of me binding the ID to the parent DIV?
Here the component call:
<datePicker v-bind:id="index" v-model="todayDate" type="datetime" format="yyyy-MM-dd HH:mm" lang="en"></datePicker>
Hello, I started using the vue2-datepicker on a project and I am getting a readonly version of the datepicker on a particular instance of the component. Which is really strange. I have a few other datepickers on the same vue file and they behave correctly, but this particular one does not, by default it makes it readonly="readonly".
Also, is there a way to pass an ID to the generated input field instead of me binding the ID to the parent DIV?
Here the component call:
<datePicker v-bind:id="index" v-model="todayDate" type="datetime" format="yyyy-MM-dd HH:mm" lang="en"></datePicker>