Open giordanorn opened 3 years ago
Just found a proper solution on:
https://stackoverflow.com/questions/55199485/how-listen-to-all-events-from-one-component-in-vuejs
Could you please make an example of how you implement this with vuetify-money-component? I'm looking for a way to react to the "update"-event of the v-text-field component. Kind regard
This doesn't seem to work: `<v-chip small class="mr-2" @update="updateModel(amount, variant, 'quantity', item)"
<vuetify-money v-model="item" :options="options" :properties="properties" :rules="amountRules" v-on="$listeners" /> `
It would be awesome if we could react to events from
v-text-field
component. I suggest something like theproperties
prop invuetify-money
. Another possibility is giving aref
attribute to thev-text-field
so we can set up event listeners manually.If this is a desired enhancement, I may try to implement as soon I have some free time.
Best regards.