Vuepic / vue3-date-time-picker

Datepicker component for Vue 3
https://vue3datepicker.com
MIT License
158 stars 13 forks source link

textInputOptions.menuOpen=false does nothing unless combined with openMenuOnFocus=false #120

Closed scythianfeather closed 2 years ago

scythianfeather commented 2 years ago

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.

Jasenkoo commented 2 years ago

The issue is fixed, please switch to the new package https://github.com/Vuepic/vue-datepicker