Skip to content

Commit 30d0ba9

Browse files
committed
Fixes #85: Update example
1 parent 4eafee0 commit 30d0ba9

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/examples/src/tutorial/definitions.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const singleField: FieldDef[] = [
1212
defaultValue: "",
1313
visible: true,
1414
required: false,
15-
disabled: false
15+
defaultDisabled: false
1616
}
1717
];
1818

@@ -158,11 +158,17 @@ export const fieldsWithOptions: FieldDef[] = [
158158
options: [
159159
{
160160
heading: "Round fruits",
161-
items: [{ label: "Apple", value: "A" }, { label: "Orange", value: "O" }]
161+
items: [
162+
{ label: "Apple", value: "A" },
163+
{ label: "Orange", value: "O" }
164+
]
162165
},
163166
{
164167
heading: "Other shapes",
165-
items: [{ label: "Banana", value: "B" }, { label: "Pear", value: "C" }]
168+
items: [
169+
{ label: "Banana", value: "B" },
170+
{ label: "Pear", value: "C" }
171+
]
166172
}
167173
]
168174
},

0 commit comments

Comments
 (0)