Topic: How to add validation error message for radio button
Error msg should be display under the gender radio butotn, I added my code here
Actual behavior Resources (screenshots, code snippets etc.)
@Life.appadmin You need to add
mdb-error component inside
form-check wrapper or
mdb-form-control component (if you use inputs) because its position is relative to these elements.
If you need to display only one error message at the bottom of the form like in the presented example, you would need to use a custom div element with custom styles.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 1.0.0
- Device: laptop
- Browser: chrome
- OS: windows10
- Provided sample code: No
- Provided link: No