0

I am new to AngularJS and I've this doubt :

<select-one options="studentOptions" ng-disabled="student.type == 1"></select-one>

^ With the above code snippet, I'm able to disbale (or grey out) a bunch of radio buttons. but I want to hide those radio buttons so I changed it to this :

<select-one options="studentOptions" ng-hide="student.type == 1"></select-one>

However, it has no effect now! Can you help me understand where I'm going wrong? I expected those radio buttons to be hidden when I changed "ng-disabled" to "ng-hide", but I didn't get the expected results.

pep8
  • 371
  • 3
  • 18

0 Answers0