This commit is contained in:
Andras Bacsai committed 2023-04-19 12:42:15 +02:00
1 parent d6c725ea83
commit d947175e4b
35 files changed
+333 -112

No files matched your search

+6 -2
View File
@@ -11,8 +11,12 @@ class Input extends Component
/**
* Create a new component instance.
*/
public function __construct(public string $name, public bool $required = false)
{
public function __construct(
public string $name,
public bool $required = false,
public bool $readonly = false,
public string|null $label = null,
) {
//
}