aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMisko Hevery2010-02-04 11:45:38 -0800
committerMisko Hevery2010-02-04 11:45:38 -0800
commit5dd43b85e73ca1708e7fd85094b533b02266a79a (patch)
treeb302e7351307fc2927d750e469e6afeb8d5343c4 /example
parent302472f4fa50f995085ebf36b8990bedf3806973 (diff)
downloadangular.js-5dd43b85e73ca1708e7fd85094b533b02266a79a.tar.bz2
ng-required treats whitespace as empty
Diffstat (limited to 'example')
-rw-r--r--example/widgets.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/widgets.html b/example/widgets.html
index ced5ffd6..8299d4b6 100644
--- a/example/widgets.html
+++ b/example/widgets.html
@@ -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" />