Ajouter controles number, date, time

This commit is contained in:
Jephté Clain 2024-04-26 11:11:11 +04:00
parent 7be840f2cc
commit f3a7066765
1 changed files with 6 additions and 0 deletions

View File

@ -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"],