From f3a706676511bdf5acad8247ef227d6012a6bd18 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Fri, 26 Apr 2024 11:11:11 +0400 Subject: [PATCH] Ajouter controles number, date, time --- nur_src/v/bs3/fo/Form.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nur_src/v/bs3/fo/Form.php b/nur_src/v/bs3/fo/Form.php index e45c480..5f6b6f9 100644 --- a/nur_src/v/bs3/fo/Form.php +++ b/nur_src/v/bs3/fo/Form.php @@ -83,6 +83,9 @@ class Form extends ComponentPrintable implements IParametrable, ArrayAccess, Cou "hidden" => ControlHidden::class, "fixed" => ControlFixed::class, "text" => ControlText::class, + "number" => ControlNumber::class, + "date" => ControlDate::class, + "time" => ControlTime::class, "password" => ControlPassword::class, "select" => ControlSelect::class, "checkbox" => ControlCheckbox::class, @@ -99,6 +102,9 @@ class Form extends ComponentPrintable implements IParametrable, ArrayAccess, Cou ControlHidden::class => [self::NV, null], ControlFixed::class => [self::NV, "label"], ControlText::class => [self::NV, "label"], + ControlNumber::class => [self::NV, "label"], + ControlDate::class => [self::NV, "label"], + ControlTime::class => [self::NV, "label"], ControlPassword::class => [self::NV, "label"], ControlSelect::class => [self::NV, "label"], ControlCheckbox::class => [self::NVC, "text"],