Skip to content

Commit 3702993

Browse files
authored
Merge pull request #279 from djarecka/radio_style
increasing line height in the radio input type
2 parents ca1a2d7 + 13cf65e commit 3702993

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

src/components/Inputs/WebRadio/Radio.vue

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
<b-form-group label="">
66
<b-form-checkbox-group
77
v-model="checkboxSelected"
8-
:options="options"
98
stacked
109
plain
1110
class="text-left"
1211
ref="checkboxbutton"
13-
></b-form-checkbox-group>
12+
>
13+
<b-form-checkbox
14+
v-for="opt in options"
15+
:value="opt.value"
16+
:key="opt.value"
17+
class="mb-3"
18+
>
19+
{{ opt.text }}
20+
</b-form-checkbox>
21+
</b-form-checkbox-group>
1422
</b-form-group>
1523
<b-btn type="submit">{{ $t('submit-button')}}</b-btn>
1624
</b-form>
@@ -19,12 +27,19 @@
1927
<b-form-group label="" v-if="!isImageSelect">
2028
<b-form-radio-group
2129
v-model="selected"
22-
:options="options"
2330
stacked
2431
class="text-left"
2532
@change="sendData"
2633
ref="radiobutton"
2734
>
35+
<b-form-radio
36+
v-for="opt in options"
37+
:value="opt.value"
38+
:key="opt.value"
39+
class="mb-3"
40+
>
41+
{{ opt.text }}
42+
</b-form-radio>
2843
</b-form-radio-group>
2944
</b-form-group>
3045
<div class="text-center" v-else>

0 commit comments

Comments
 (0)