Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 6185538

Browse files
committed
Merge pull request #3 from kentongray/master
add ng-required to radio group
2 parents 3ea3297 + 0bc405a commit 6185538

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/directives/formly-field-radio.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
name="{{id}}"
1111
id="{{id + '_'+ $index}}"
1212
ng-value="option.value"
13+
ng-required="options.required"
1314
ng-model="$parent.value">
1415
{{option.name}}
1516
</label>
1617
</div>
1718

18-
</div>
19+
</div>

0 commit comments

Comments
 (0)