I have a text box that is a search box (input type ="search") that I want to use the ng-required directive on it as needed.
The issue is if I set ng-required = true there is no red box around my textbox. If I change the input type = "text" it works correctly but then I do not get my x to clear out data.
How can I modify the input type="search" so that it sees the required flag and changes the textbox to red?
ng-required and required should work for regardless of input type.
Take a look at here. You can change the input type and see the message true for both cases.