From 1c54dc25a5f6b7a710819b0694d586b03f8c5547 Mon Sep 17 00:00:00 2001 From: Dominique FOURNIER Date: Sat, 11 Jul 2026 10:15:56 +0200 Subject: [PATCH] FormField : define the maxlength property --- src/Formfield.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Formfield.php b/src/Formfield.php index f2bfafc..4a478f9 100644 --- a/src/Formfield.php +++ b/src/Formfield.php @@ -51,6 +51,10 @@ class Formfield * Display the placeholder if needed */ 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) */