mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
have trait default to match most components
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@ class Toggle extends Field
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
$this->default(false);
|
||||
$this->default(false)->inline();
|
||||
}
|
||||
|
||||
public function onIcon($icon)
|
||||
|
||||
Reference in New Issue
Block a user