FIDDLE HERE: http://jsfiddle.net/TegFf/48/
Within my form, there are radio buttons (you can view them in the Fiddle link above) that need to validate the following scenarios:
- The user must select a radio button with a corresponding dollar amount
- If "custom" is selected, a value must be entered as well
I'm encountering an issue where the Ng-Required attribute placed on an input field is not correctly determining if it should be required or not.
<input name="donation" type="radio" value="yes" ng-model="manual" required="false">
<input type="number" ng-model="donation" ng-required="manual === 'yes'">