Here is a Kendo autocomplete input with a required parameter:
<input type="text" ng-model="projectDetail.partner.name" ng-init="initAutoCompleteForPartnersCreate()" class="form-control" id="autocompletePartners" required/>
The issue is that the ng-invalid rule defined in CSS is not being applied when the input is empty.
input.ng-invalid {
border: 1px solid red;
}
Can someone help me figure out how to solve this problem?
Thank you for any advice.