koumoul-dev / vuetify-jsonschema-form

Create beautiful and low-effort forms that output valid data. Published on npm as @koumoul/vjsf.
https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/
MIT License
538 stars 154 forks source link

Listening for change #326

Open uaru opened 2 years ago

uaru commented 2 years ago

<v-jsf v-model="model" :schema="schema" @change="doSomething">

Suppose there are a few text elements inside. If the user type something, for the event @change to take place, he needs to change focus from the field. So I cannot detect if the user just started typing until he starts something else.

@input - a lot of events even before I start typing anything, so it is useless. @keyup - does not work.

Did I miss something?

albanm commented 2 years ago

Maybe input-child is better for your use-case ? https://github.com/koumoul-dev/vuetify-jsonschema-form/blob/master/lib/VJsfNoDeps.js#L397