Equal
Equal copied to clipboard
Suggestion: add change event on components.
I think it would be nice to have that behaviour like with plain vue and almost all ui libraries, otherwise you got to watch your data to trigger functions.
Maybe there's already a way to achieve this?
Example:
<it-select @change="replot" v-model="type" :options="optionsArray" />
Thanks.
In progress
Thank you very much! Its really the only downside that i can see on it. :)
@sagoncalves Hi. This functional already exist.
<it-select
@update:model-value="handleChangeSelect"
:model-value="selectValue"
label-top="Label"
:options="selectOptions"
/>
handleChangeSelect(value) {
// do something
selectValue.value = value
// do something
}