riophae / vue-treeselect

A multi-select component with nested options support for Vue.js
https://vue-treeselect.js.org/
MIT License
2.91k stars 509 forks source link

Dispatch the onInvalid event from the input #489

Open mslourens opened 2 years ago

mslourens commented 2 years ago

The input has a required attribute, which you can set, but it doesn't emit the onInvalid event, so you cannot prevent a from from submitting when it's value is null, although the required attribute is set.