FormField : define the maxlength property
This commit is contained in:
@@ -51,6 +51,10 @@ class Formfield
|
|||||||
* Display the placeholder if needed
|
* Display the placeholder if needed
|
||||||
*/
|
*/
|
||||||
public $placeholder = false;
|
public $placeholder = false;
|
||||||
|
/**
|
||||||
|
* The maximum length of the text field allowed to users
|
||||||
|
*/
|
||||||
|
public $maxlength;
|
||||||
/**
|
/**
|
||||||
* The multiplicity of selection of the field (available in select only)
|
* The multiplicity of selection of the field (available in select only)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user