Closed scythianfeather closed 2 years ago
Click on the input field, comparing: <Datepicker v-model="date" textInput :textInputOptions="{ openMenu: false }" /> With: <Datepicker v-model="date" textInput :textInputOptions="{ openMenu: false }" :openMenuOnFocus="false" />
<Datepicker v-model="date" textInput :textInputOptions="{ openMenu: false }" />
<Datepicker v-model="date" textInput :textInputOptions="{ openMenu: false }" :openMenuOnFocus="false" />
As per the textInputOptions documentation, I thought it should be enough to set textInputOptions.openMenu=false to prevent the menu from opening when the input field is clicked.
textInputOptions.openMenu=false
The issue is fixed, please switch to the new package https://github.com/Vuepic/vue-datepicker
To Reproduce
Click on the input field, comparing:
<Datepicker v-model="date" textInput :textInputOptions="{ openMenu: false }" />
With:<Datepicker v-model="date" textInput :textInputOptions="{ openMenu: false }" :openMenuOnFocus="false" />
Expected Behavior
As per the textInputOptions documentation, I thought it should be enough to set
textInputOptions.openMenu=false
to prevent the menu from opening when the input field is clicked.