Events are not mentioned/working in vue component


Topic: Events are not mentioned/working in vue component

JBS88 asked 4 years 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 4 years 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.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

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