Skip to content

Commit

Permalink
fix(form-radio): apply form state to hidden input element
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorehouse authored Nov 10, 2017
1 parent 94488c6 commit 3074ecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/form-radio/form-radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<label class="form-check-label">
<input v-model="computedLocalChecked"
:id="safeId()"
class="form-check-input"
:class="['form-check-input', get_StateClass]"
:value="value"
:name="get_Name"
:required="get_Name && is_Required"
Expand All @@ -22,7 +22,7 @@
<!-- Custom or Button Radio -->
<input v-model="computedLocalChecked"
:id="safeId()"
:class="is_ButtonMode ? '' : 'custom-control-input'"
:class="[is_ButtonMode ? '' : 'custom-control-input', get_StateClass]"
:value="value"
:name="get_Name"
:required="get_Name && is_Required"
Expand Down

0 comments on commit 3074ecc

Please sign in to comment.