From 1210763111db4b1b56e4f725d138e09a8be291ba Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 16 Mar 2021 19:13:51 +0100 Subject: [PATCH] formField() regards 'min' parameter --- views/bootstrap/class.Bootstrap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index f899a2d6d..e289677cd 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -974,6 +974,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; ((isset($value['value']) && is_string($value['value'])) || !empty($value['value']) ? ' value="'.$value['value'].'"' : ''). (!empty($value['placeholder']) ? ' placeholder="'.$value['placeholder'].'"' : ''). (!empty($value['autocomplete']) ? ' autocomplete="'.$value['autocomplete'].'"' : ''). + (isset($value['min']) ? ' min="'.$value['min'].'"' : ''). (!empty($value['checked']) ? ' checked' : ''). (!empty($value['required']) ? ' required' : ''); if(!empty($value['attributes']) && is_array($value['attributes']))