Angular

Last Updated: 8/28/2023

Styling Invalid Input Fields

  • As a best practice we should highlight the invalid input fields. This improves usability of the form

  • in style.css

.form-control.ng-touched.ng-invalid {
	border:2px solid red;
}