Hi,
My problematic is quite simple and probably common but I couldn't find a solution on internet...
I'm working on a form asking for personal details and it has a Gender section with Male and Female radio buttons which are initially not set (people must tick one of the radio buttons to validate the form).
There is 1 single model ($scope.male) and ticking the Male button set it to true whereas ticking the Female button set it to false.
I make the Male radio button required while none of the buttons are ticked (to prevent validation). This is done with ng-required="male!==false && male!==true"
This implementation works fine on all browsers except FireFox when the Female tickbox is ticked: the Male button is circled in red and remains invalid.
It seems that the ng-required doesn't change to false on FireFox when the male model is set.
It looks like a Angular bug, but I can't find a workaround.
Any idea how to fix this problem?
Thanks
Bruno.