Update input component and toast position

This commit is contained in:
Andras Bacsai committed 2024-03-22 13:09:02 +01:00
1 parent 66fe124dd1
commit 2f50f64ecf
4 files changed
+6 -4

No files matched your search

+3 -1
View File
@@ -29,7 +29,9 @@ class Input extends Component
{
if (is_null($this->id)) $this->id = new Cuid2(7);
if (is_null($this->name)) $this->name = $this->id;
if ($this->type === 'password') {
$this->defaultClass = $this->defaultClass . " pr-[2.8rem]";
}
// $this->label = Str::title($this->label);
return view('components.forms.input');
}