Skip to content

Commit 3f97757

Browse files
cklei-carlygithub-actions[bot]
authored andcommitted
Fix styling
1 parent ad38d4d commit 3f97757

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/Fields/Configs/Concerns/HasColumnsLayoutConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
trait HasColumnsLayoutConfig
88
{
99
public array $columnsLayout = [];
10-
10+
1111
protected static function getHasColumnsLayoutConfigComponent()
1212
{
1313
return Forms\Components\KeyValue::make('columnsLayout')

src/Fields/Configs/Repeater.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#[Translatable(false)]
2424
class Repeater extends FieldTypeBaseConfig implements FieldTypeConfig
2525
{
26-
use HasInnerField;
2726
use HasColumnsLayoutConfig;
27+
use HasInnerField;
2828

2929
public array $fields = [];
3030

@@ -35,13 +35,17 @@ class Repeater extends FieldTypeBaseConfig implements FieldTypeConfig
3535
public bool $cloneable = false;
3636

3737
public bool $collapsible = false;
38+
3839
public bool $defaultCollapsed = false;
3940

4041
public bool $reorderable = false;
42+
4143
public bool $reorderableWithButtons = false;
44+
4245
public bool $reorderableWithButtonsreorderableWithDragAndDrop = false;
4346

4447
public ?int $minItems = null;
48+
4549
public ?int $maxItems = null;
4650

4751
public array $gridLayout = [];
@@ -74,7 +78,6 @@ public function getFormSchema(): array
7478
->placeholder('e.g. title, key, etc.')
7579
->helperText(str('The label for each item in the repeater. Using **`Name`** in the **Fields**')->markdown()->toHtmlString()),
7680

77-
7881
Forms\Components\KeyValue::make('gridLayout')
7982
->keyLabel('Column')
8083
->keyLabel('Width')
@@ -135,7 +138,7 @@ public function applyConfig(Forms\Components\Component $component): void
135138

136139
//
137140
$component->cloneable($this->cloneable);
138-
141+
139142
$component->collapsible($this->collapsible);
140143
$component->collapsed($this->defaultCollapsed ?? false);
141144

0 commit comments

Comments
 (0)