Skip to content

Commit 49e8d43

Browse files
author
Lionel Bijaoui
committed
dev: add a basic color field for testing
1 parent 5a4769e commit 49e8d43

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dev/schema.js

+9
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,15 @@ module.exports = {
198198
styleClasses: "half-width",
199199
validator: validators.required
200200
}, {
201+
type: "color",
202+
label: "Color (basic)",
203+
model: "favoriteColor",
204+
required: true,
205+
colorOptions: {
206+
//preferredFormat: "rgb"
207+
},
208+
validator: validators.required
209+
}, {
201210
type: "spectrum",
202211
label: "Color (spectrum field)",
203212
model: "favoriteColor",

0 commit comments

Comments
 (0)