I have a component wich contains a ionInput.
This input uses NgModel instead of FormControl.
I need to set validation error in this input meaning the line must be red or not depending if there’s erro or not.
How to apply validation to a ionInput using ngModel?