Skip to content

Commit 821ee99

Browse files
committed
chore: more complete editable array example
1 parent d46bc71 commit 821ee99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/examples/editable-array.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ const schema = {
2323
titleProp: { type: 'string', title: `I'm a required string used as title` },
2424
numberProp: { type: 'number', title: `I'm a number` },
2525
booleanProp: { type: 'boolean', title: `I'm a boolean` },
26-
dateProp: { type: 'string', format: 'date', title: `I'm a date` }
26+
dateProp: { type: 'string', format: 'date', title: `I'm a date` },
27+
colorProp: { type: 'string', format: 'hexcolor', title: `I'm a color` },
28+
selectProp: { type: 'string', enum: ['Value 1', 'Value 2'], title: `I'm a select` }
2729
}
2830
}
2931
}

0 commit comments

Comments
 (0)