Skip to content

Commit

Permalink
Fix control: add id and name to VdRadio
Browse files Browse the repository at this point in the history
  • Loading branch information
duduluu committed Dec 18, 2017
1 parent 5c74d48 commit 5479243
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/controls/form/radio/VdRadio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<input class="radio-input"
type="radio"
ref="input"
:id="id"
:name="name"
:value="value"
v-model="model"
:disabled="disabled"
Expand Down Expand Up @@ -52,6 +54,9 @@ import { RadioValue } from 'src/controls/form/VdFormControl';
},
})
export default class VdRadio extends VdStylableControl {
@Prop() id: string;
@Prop() name: string;
@Prop([String, Number])
value: RadioValue;
Expand Down

0 comments on commit 5479243

Please sign in to comment.