diff --git a/resources/lang/cs/components.php b/resources/lang/cs/components.php index 0676a03f..9ace1f0b 100644 --- a/resources/lang/cs/components.php +++ b/resources/lang/cs/components.php @@ -16,6 +16,10 @@ 'label' => 'Přidat k :label', ], + 'create_item_between' => [ + 'label' => 'Vložit', + ], + 'delete_item' => [ 'label' => 'Smazat', ], @@ -52,6 +56,22 @@ ], + 'checkbox_list' => [ + + 'buttons' => [ + + 'deselect_all' => [ + 'label' => 'Odznačit vše', + ], + + 'select_all' => [ + 'label' => 'Vybrat vše', + ], + + ], + + ], + 'key_value' => [ 'buttons' => [ diff --git a/src/Concerns/HasStateBindingModifiers.php b/src/Concerns/HasStateBindingModifiers.php index 97d1ec1a..db89a413 100644 --- a/src/Concerns/HasStateBindingModifiers.php +++ b/src/Concerns/HasStateBindingModifiers.php @@ -2,7 +2,6 @@ namespace Filament\Forms\Concerns; -use Filament\Forms\ComponentContainer; use Filament\Forms\Components\Component; use Illuminate\Support\Str; @@ -65,7 +64,7 @@ public function getStateBindingModifiers(): array return $this->getContainer()->getStateBindingModifiers(); } - if (($this instanceof ComponentContainer) && $this->getParentComponent()) { + if ($this->getParentComponent()) { return $this->getParentComponent()->getStateBindingModifiers(); }