Skip to content

Commit

Permalink
dev: add a basic color field for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Bijaoui committed Aug 9, 2016
1 parent 5a4769e commit 49e8d43
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dev/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,15 @@ module.exports = {
styleClasses: "half-width",
validator: validators.required
}, {
type: "color",
label: "Color (basic)",
model: "favoriteColor",
required: true,
colorOptions: {
//preferredFormat: "rgb"
},
validator: validators.required
}, {
type: "spectrum",
label: "Color (spectrum field)",
model: "favoriteColor",
Expand Down

0 comments on commit 49e8d43

Please sign in to comment.