Skip to content
KeystoneJS LogoKeystoneJSv5

Color

Usage

keystone.createList('Product', {
  fields: {
    heroColor: { type: Color },
    // ...
  },
});

Config

OptionTypeDefaultDescription
isRequiredBooleanfalseDoes this field require a value?
isUniqueBooleanfalseAdds a unique index that allows only unique values to be stored

Have you found a mistake, something that is missing, or could be improved on this page? Please edit the Markdown file on GitHub and submit a PR with your changes.

Edit Page