Adds wrappers around box inputs
This commit is contained in:
parent
1c0980b1e8
commit
73ae9db111
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -70,10 +70,14 @@
|
|||||||
</select>
|
</select>
|
||||||
<!-- BOX INPUTS -->
|
<!-- BOX INPUTS -->
|
||||||
<div
|
<div
|
||||||
class="formulate-element-box-input-group"
|
class="formulate-element-box-input-wrap"
|
||||||
v-if="isBoxInput"
|
v-if="isBoxInput"
|
||||||
>
|
>
|
||||||
<template v-for="option in optionList">
|
<div
|
||||||
|
class="formulate-element-box-input-group"
|
||||||
|
v-for="option in optionList"
|
||||||
|
:key="option.id"
|
||||||
|
>
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
:class="elementClasses"
|
:class="elementClasses"
|
||||||
@ -105,7 +109,7 @@
|
|||||||
:key="`${option.id}-label`"
|
:key="`${option.id}-label`"
|
||||||
v-text="option.label"
|
v-text="option.label"
|
||||||
/>
|
/>
|
||||||
</template>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- CUSTOM SLOT INPUTS -->
|
<!-- CUSTOM SLOT INPUTS -->
|
||||||
<slot v-if="hasCustomInput" />
|
<slot v-if="hasCustomInput" />
|
||||||
|
Loading…
Reference in New Issue
Block a user