Quantcast
Viewing all articles
Browse latest Browse all 11

Answer by Alexander Mills for What's the proper value for a checked attribute of an HTML checkbox?

It's pretty crazy town that the only way to make checked false is to omit any values. With Angular 1.x, you can do this:

<input type="radio" ng-checked="false">

which is a lot more sane, if you need to make it unchecked.


Viewing all articles
Browse latest Browse all 11

Trending Articles