Trait MinMaxLength
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\Validators\MinMaxLength
Direct Known Users
MvcCore\Ext\Forms\Fields\Text, MvcCore\Ext\Forms\Fields\Textarea, MvcCore\Ext\Forms\Validators\MinMaxLengthIndirect Known Users
MvcCore\Ext\Forms\Fields\Email, MvcCore\Ext\Forms\Fields\Password, MvcCore\Ext\Forms\Fields\Search, MvcCore\Ext\Forms\Fields\Tel, MvcCore\Ext\Forms\Fields\Url
Namespace: MvcCore\Ext\Forms\Field\Props
Located at ext-form-field-text/src/MvcCore/Ext/Forms/Field/Props/MinMaxLength.php
Located at ext-form-field-text/src/MvcCore/Ext/Forms/Field/Props/MinMaxLength.php
public
integer|null
|
|
public
|
|
public
integer|null
|
|
public
|
|
protected
|
#
setFormMinMaxLength( )
Check if field has proper min/max validator if any value for minimum or maximum characters count is set. Process this check immediately when field is added into form instance. |
protected
integer|null
|
$minLength
Minimum characters length. Default value is |
#
NULL
|
protected
integer|null
|
$maxLength
Maximum characters length. Default value is |
#
NULL
|