Warning: You are browsing the documentation for PrestaShop 8, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 9. Read the updated version of this page
This form class is responsible for creating a color picker field
Option | Type | Default value | Description |
---|
$builder->add('color', ColorPickerType::class, [
'required' => true,
])