Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 227246f

Browse files
committed
update FieldsStory
1 parent 8b471e6 commit 227246f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

stories/components/FieldsCustom.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template functional>
22

3-
<div>
3+
<div class="panel-body">
44
<div v-for="field in parent.fields" v-show="parent.evaluate(field.show)" :key="field.name" class="form-group">
55
<label v-if="field.type != 'checkbox'">{{ field.label }}</label>
66
<component :is="field.component" :field="field" :values="parent.values" class="form-control" @change="parent.change"/>

stories/components/FieldsStory.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<div class="col-md-6">
99
<div class="panel panel-default">
1010
<div class="panel-heading"><h2 class="panel-title">Default</h2></div>
11-
<FieldsCustom class="panel-body" @change="change"/>
11+
<FieldsCustom/>
1212
</div>
1313
</div>
1414
<div class="col-md-6">
1515
<div class="panel panel-default">
1616
<div class="panel-heading"><h2 class="panel-title">Custom</h2></div>
17-
<FieldsCustom class="panel-body" @change="change"/>
17+
<FieldsCustom/>
1818
</div>
1919
</div>
2020
</div>

0 commit comments

Comments
 (0)