Events are not mentioned/working in vue component


Topic: Events are not mentioned/working in vue component

JBS88 pro premium asked 6 months ago

We are trying to find events for checkbox, radio component. But there are no such events when i hit click/change the option.


Magdalena Dembna staff premium answered 6 months ago

You can usually find emitted events in the API tab in our docs:

https://mdbootstrap.com/docs/vue/forms/checkbox/#docsTabsAPI https://mdbootstrap.com/docs/vue/forms/radio-button/#docsTabsAPI

I've checked in the Vue dev tools and both of them emit @input (which is required for v-model directive) and additionally checkbox emits @change. If none of them are working as expected, please provide a code snippet so I could recreate your issue.

Best regards, Magdalena


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: Vue
  • MDB Version: 6.7.1
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No