ng-required treats whitespace as empty

This commit is contained in:
Misko Hevery
2010-02-04 11:45:38 -08:00
parent 302472f4fa
commit 5dd43b85e7
5 changed files with 58 additions and 48 deletions

View File

@@ -11,7 +11,9 @@
</script>
</head>
<body>
<input name="form.list" ng-format="list" />
<input name="form.required" ng-required/>
<hr/>
<input name="form.list" ng-format="list" ng-required/>
<input name="form.list" ng-format="list" />
<hr/>
<input type="checkbox" name="form.boolean" ng-format="boolean" value="true" checked="checked" />