FormFieldColorPicker
The class FormCheckBox represents a checkbox field in a form. It corresponds to a boolean.
- AbstractFormField implements FormField
- FormFieldColorPicker
public
|
#
__construct( string $id, string $label, mixed $value, array $field_options = array(), array $constraints = array() )
Constructs and set parameters to the field. The specific parameters of this abstract class (common with many fields) are the following:
None of these parameters is required. |
public
|
|
protected
|
$constraints,
$css_class,
$css_field_class,
$css_form_field_class,
$description,
$disabled,
$events,
$form_constraints,
$hidden,
$id,
$label,
$pattern,
$placeholder,
$readonly,
$required,
$template,
$validation_error_message,
$value
|