I have a interesting problem to solve, but I don't know how, I have a dynamically inputs in my view, and the inputs in Angular are validated in realtime, but I don't want that, the angular inputs in input class "ng-invalid" and I want to add "ng-invalid" just when submit my form:
<div ng-if="conditionItem.field.id"
ng-class="{'error': FieldConditionsCtrl.feedback.type === 'error'}"
dynamic
input-router << Here is my how generates the inputs
source="conditionItem.field"
ng-model="conditionItem.situation[$index]">
</div>
When I modify the generated input, AngularJS inputs in my input class the following classes "ng-invalid ng-empty":
I want to add this classes just when submit to make the border red. Any help for this issue?
