I have two fields where one needs to be smaller than the other, and the second larger than the first while still passing validation.
However, when entering the first number, it is not being saved in the model (saved as undefined) because it does not meet the validation condition "max".
It is important to me that keyboard input is used instead of buttons.
Can someone help me find a solution to this issue?
<td><input type="number" class="form-control input-sm" ng-model="item.low" max="{{item.high-1}}" required></td>
<td><input type="number" class="form-control input-sm" ng-model="item.high" min="{{item.low+1}}" required></td>