have trait default to match most components

This commit is contained in:
Dan Pock
2021-04-20 15:57:28 -04:00
parent 031ec0aed9
commit 2e5ad84d93
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ class Checkbox extends Field
protected function setUp()
{
$this->default(false);
$this->default(false)->inline();
}
}
@@ -4,7 +4,7 @@ namespace Filament\Forms\Components\Concerns;
trait CanAlternateLayoutDirection
{
protected $isInlineLayout = true;
protected $isInlineLayout = false;
public function inline()
{
+1 -1
View File
@@ -16,7 +16,7 @@ class Toggle extends Field
protected function setUp()
{
$this->default(false);
$this->default(false)->inline();
}
public function onIcon($icon)