Topic: API for Radio Buttons Angular

Nate free asked 4 years ago


I'm just wondering- do methods, inputs or outputs exist for Radio buttons?

I don't see any in the documentation under https://mdbootstrap.com/docs/angular/forms/radio-button/#docsTabsAPI

Like is there any way to check the value, or state of the button if it's checked?


Arkadiusz Idzikowski staff answered 4 years ago


The radio button element in this case is just a HTML element, that's why it doesn't have any advanced API options. You can still use template-drive or reactive forms properties to track the changes. We added some examples in the documentation:

https://mdbootstrap.com/docs/angular/forms/radio-button/#template-driven https://mdbootstrap.com/docs/angular/forms/radio-button/#reactive-forms



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.0.0
  • Device: Desktop
  • Browser: Chrome
  • OS: OSX
  • Provided sample code: No
  • Provided link: Yes