Topic: How to show errors for required fields on form submit when user doesn't touch or dirty the field
Sreekanth Pingali free asked 5 years ago
Expected behavior
Actual behavior
Resources (screenshots, code snippets etc.)
Add comment
Arkadiusz Idzikowski staff answered 5 years ago
You can loop through your form controls and mark them as touched with markAsTouched() method on button click.
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: 7.5.0
- Device: System
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No