wotamann / vuetify-form-base

Schema-based Form Generator - Vue.js 2.0 Component based on Vuetify 2.0
https://wotamann.github.io/vuetify
230 stars 63 forks source link

How does one specify their own callback for events i.e updates the "methods" object #63

Closed Mashiane closed 4 years ago

Mashiane commented 4 years ago

Hi there

I want to assign an append icon click event to a text control.

  1. How do I achieve this?
  2. How do I assign my own callback function to be fired? for example, you have used @change="change". Does it always have to be @change="change", or can it be @change="skipper_change"

I'd like to achieve something similar to - adding my own to the "methods" object of vuetify-form-base

methods: { "skipper_change": function skipperchange() {} }

Thanks

Mashiane commented 4 years ago

Finally understood how the event stuff was working. I guess I needed the Explain like I'm 5 (EL5) approach.