You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
->helperText(str('The columns for this field. Use **`default`** for the default layout, **`sm`** for small screens, **`md`** for medium screens, etc.')->markdown()->toHtmlString());
->helperText(str('The label for each item in the repeater. Using **`Name`** in the **Fields**')->markdown()->toHtmlString()),
76
+
77
+
78
+
Forms\Components\KeyValue::make('gridLayout')
79
+
->keyLabel('Column')
80
+
->keyLabel('Width')
81
+
->keyPlaceholder('e.g. default, sm, md, lg, xl')
82
+
->valuePlaceholder('e.g. 1, 2, 3, 4, etc.')
83
+
->helperText(str('The grid layout for the repeater. Use **`default`** for the default layout, **`sm`** for small screens, **`md`** for medium screens, etc.')->markdown()->toHtmlString()),
84
+
85
+
static::getHasColumnsLayoutConfigComponent(),
86
+
53
87
]),
54
88
Forms\Components\Tabs\Tab::make('Fields')
55
89
->schema([
90
+
Forms\Components\TextInput::make('minItems')
91
+
->inlineLabel()
92
+
->integer(),
93
+
Forms\Components\TextInput::make('maxItems')
94
+
->inlineLabel()
95
+
->integer(),
56
96
Forms\Components\TextInput::make('defaultItems')
57
97
->inlineLabel()
58
98
->placeholder('e.g. 1, 2, 3, etc.')
@@ -93,12 +133,17 @@ public function applyConfig(Forms\Components\Component $component): void
0 commit comments