Skip to content

Commit 0d45ecb

Browse files
chore(form): fix the fieldgroup component input and labels
1 parent 3f8137e commit 0d45ecb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/form/stories/form.stories.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { Template as Checkbox } from "@spectrum-css/checkbox/stories/template.js";
21
import { Template as Fieldgroup } from "@spectrum-css/fieldgroup/stories/template.js";
32
import { Template as Picker } from "@spectrum-css/picker/stories/template.js";
43
import { disableDefaultModes } from "@spectrum-css/preview/modes";
@@ -80,18 +79,19 @@ export default {
8079
content: [
8180
(passthroughs, context) => Fieldgroup({
8281
layout: "horizontal",
82+
inputType: "checkbox",
8383
items: [
84-
Checkbox({
84+
{
8585
...passthroughs,
8686
label: "Kittens",
8787
customClasses: ["spectrum-FieldGroup-item"],
88-
}, context),
89-
Checkbox({
88+
},
89+
{
9090
...passthroughs,
9191
label: "Puppies",
9292
customClasses: ["spectrum-FieldGroup-item"],
93-
}, context),]
94-
}),
93+
}]
94+
}, context),
9595
],
9696
},{
9797
label: "Age",

0 commit comments

Comments
 (0)