icehaunter / vue3-datepicker

Simple datepicker component for Vue 3
https://icehaunter.github.io/vue3-datepicker/
MIT License
150 stars 153 forks source link

Additional datepicker control shown when clicking icon #73

Closed Yannick86 closed 1 year ago

Yannick86 commented 2 years ago

Hi,

When adding typeable="false" the icon on the right of the control is shown, clicking it will prompt an additional datepicker control as shown in the following screenshots. Clicking anywhere else will trigger just one datepicker. I'm guess the icon it's button needs an event prevent default or propagation.

Click in text field:

image

Click on the icon:

image

Yannick86 commented 2 years ago

Ok, apparantly we still had type="date" on the field causing Chrome to add the icon and this would show an additional prompt.

jagadeshanh commented 2 years ago

@Yannick86 Can you close the issue if it is resolved.