fix: input and textarea

This commit is contained in:
Andras Bacsai committed 2023-08-08 14:46:23 +02:00
1 parent bd9a1dbaf3
commit b4b1c671bd
5 files changed
+15 -13

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ class Input extends Component
public bool $readonly = false,
public string|null $helper = null,
public bool $allowToPeak = true,
public string $defaultClass = "input input-sm bg-coolgray-200 rounded text-white w-full disabled:bg-coolgray-200/50 disabled:border-none placeholder:text-coolgray-500"
public string $defaultClass = "input input-sm bg-coolgray-200 rounded text-white w-full disabled:bg-coolgray-200/50 disabled:border-none placeholder:text-coolgray-500 read-only:text-neutral-500 read-only:bg-coolgray-200/50"
)
{
}