File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,13 @@ <h1>Angular Validation.
117117 < option > 5</ option >
118118 </ select >
119119 < span id ="selectBlur "> </ span >
120+
121+ < label > Checkbox</ label >
122+ < div class ="large-12 columns ">
123+ < input id ="checkbox1 " type ="checkbox " name ="checkBlur " ng-model ="form2.check " validator ="required " message-id ="checkBlur "/> < label for ="checkbox1 "> Checkbox 1</ label >
124+ < span id ="checkBlur "> </ span >
125+ </ div >
126+
120127 </ fieldset >
121128
122129 < ul class ="button-group ">
@@ -250,6 +257,10 @@ <h1>Angular Validation.
250257 < input type ="text " name ="emailRequiredOnly{{$index}} " ng-model ="a.required " validator ="required ", message-id ="emailRequiredOnly{{$index}} "/>
251258 < span id ="emailRequiredOnly{{$index}} "> </ span >
252259 </ div >
260+ < blockquote ng-non-bindable >
261+ In name attribute we have to use {{$index}}
262+ < cite > eg. emailRequiredOnly{{$index}}</ cite >
263+ </ blockquote >
253264 </ fieldset >
254265
255266 < ul class ="button-group ">
You can’t perform that action at this time.
0 commit comments