Skip to content

Color Picker

v2.44.0

This component is a color picker that allows you to select a color from a color palette. It is a wrapper around the antd ColorPicker component. It can be used in tree and form views.

<field name="color" widget="colorPicker" />
#335577

It has an option to hide the text using show_text in widget_props.

<field name="color" widget="colorPicker"
widget_props="{'show_text': false}" />

API

PropertyDescriptionTypeDefaultVersion
widget_propsAdditional properties for the widgetobject--

Widget Props

PropertyDescriptionTypeDefaultVersion
show_textShow the text inputbooleantrue-