TerryZ / v-suggest

A Vue2 plugin for input content suggestions, support using keyboard to navigate and quick pick, it make use experience like search engine input element
https://terryz.github.io/vue/#/suggest
MIT License
76 stars 16 forks source link

Add a proper way to set "error" class to <input> element inside <v-suggest> #18

Open tikvarova opened 4 years ago

tikvarova commented 4 years ago

Dear Terry,

Could you please provide a simple way to "Add/Remove" class "error" and "valid" (maybe via props) to a nested tag.

This will be very helpful if we use VUELIDATE for example to dynamically set remove visual representation of errors (missed selection for example) to a end user.

Thanks in advance