FormFieldNumberEditor
This class manage number fields.
- AbstractFormField implements FormField
- FormFieldNumberEditor
public
|
#
__construct( string $id, string $label, string $value, array $field_options = array(), array $constraints = array() )
Constructs a FormFieldNumberEditor. It has these options in addition to the AbstractFormField ones:
|
public
string
|
|
protected
|
|
protected
|
protected
string
|
$type
|
#
'number'
|
protected
|
$min
|
#
null
|
protected
integer
|
$max
|
#
0
|
protected
integer
|
$step
|
#
0
|
protected
string
|
$pattern
|
#
'[0-9]*'
|
$constraints,
$css_class,
$css_field_class,
$css_form_field_class,
$description,
$disabled,
$events,
$form_constraints,
$hidden,
$id,
$label,
$placeholder,
$readonly,
$required,
$template,
$validation_error_message,
$value
|