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
Property | Description | Type | Default | Version |
---|---|---|---|---|
widget_props | Additional properties for the widget | object | - | - |
Widget Props
Property | Description | Type | Default | Version |
---|---|---|---|---|
show_text | Show the text input | boolean | true | - |