Coding task · Angular course · Module 8: Forms
Practice: Displaying errors
A control has a method that checks one specific error (instead of errors?.['required']) and a flag that turns true once the user leaves the field. Together they let you show the error only after interaction.
Task
Complete the template that displays validation errors only when the field has been touched.