Vuetify: 1.2.0
Vue:
Browsers:
OS:
Vuetify: 1.1.13
Vue:
Place a combobox inside a form with a submit button.
Pressing enter
creates a new item and does not submit the form.
Pressing enter
submits the form.
https://codepen.io/SeregPie/pen/rZLQRm
Worked fine before I updated to 1.2.0.
https://github.com/vuetifyjs/vuetify/commit/66ddcfd2dfb81c757e34a3d20925bf41b092cefa#diff-ebb3da5567a5b11ea831789469bcc709R557
This applies to v-select and v-autocomplete too.
Can't reproduce it in 1.3.0
Can be reproduced in the latest version v1.3.7. Is there somehow a workaround on this?
No current work around to my knowledge.
for now, I am using
Found a workaround (albeit last week). Just add @keydown.enter.native.prevent
to v-autocomplete
.
After more looking into this, I believe this might be expected behavior. The same thing will happen if you use a regular text input. https://codepen.io/johnjleider/pen/ZZERRV?editors=1010
@johnleider I tested the default behavior of a select and they actually diverge. https://codepen.io/tomrb/pen/MWayMNV
I find very useful to open the dropdown with enter when navigating with the keyboard :+1:
Looks like this was fixed at some point, it doesn't happen any more in v1.5.24 or v2.3.2: https://codepen.io/kaelwd/pen/NWxvXMq?editors=1010
Most helpful comment
Can be reproduced in the latest version v1.3.7. Is there somehow a workaround on this?