1
0
mirror of synced 2024-11-26 07:16:02 +03:00

Adds wrappers around box inputs

This commit is contained in:
Justin Schroeder 2018-05-18 23:47:14 -04:00
parent 1c0980b1e8
commit 73ae9db111
2 changed files with 8 additions and 4 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -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" />