feat(input): add autofocus attribute to input component for improved accessibility

This commit is contained in:
Andras Bacsai committed 2025-08-12 10:06:19 +02:00
1 parent a0bc4dac55
commit 1ddec358a5
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ class Input extends Component
public string $autocomplete = 'off',
public ?int $minlength = null,
public ?int $maxlength = null,
public bool $autofocus = false,
) {}
public function render(): View|Closure|string