@@ -115,15 +115,15 @@ public function getForm(): array
115115 Forms \Components \Toggle::make ('config.reorderableWithButtons ' )
116116 ->label (__ ('Reorderable with buttons ' ))
117117 ->dehydrated ()
118- ->disabled (fn (Forms \Get $ get ): bool => $ get ('config.reorderable ' ) === false )
118+ ->disabled (fn (Forms \Get $ get ): bool => $ get ('config.reorderable ' ) === false )
119119 ->inline (false ),
120120 ]),
121121 Forms \Components \Toggle::make ('config.collapsible ' )
122122 ->label (__ ('Collapsible ' ))
123123 ->inline (false ),
124124 Forms \Components \Toggle::make ('config.collapsed ' )
125125 ->label (__ ('Collapsed ' ))
126- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.collapsible ' ) === true )
126+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.collapsible ' ) === true )
127127 ->inline (false ),
128128 Forms \Components \Toggle::make ('config.cloneable ' )
129129 ->label (__ ('Cloneable ' ))
@@ -142,9 +142,9 @@ public function getForm(): array
142142 ->live (debounce: 250 )
143143 ->labelKey ('name ' )
144144 ->maxDepth (0 )
145- ->addable (fn (string $ operation ) => $ operation !== 'create ' )
146- ->disabled (fn (string $ operation ) => $ operation === 'create ' )
147- ->hint (fn (string $ operation ) => $ operation === 'create ' ? __ ('Fields can be added once the field is created. ' ) : '' )
145+ ->addable (fn (string $ operation ) => $ operation !== 'create ' )
146+ ->disabled (fn (string $ operation ) => $ operation === 'create ' )
147+ ->hint (fn (string $ operation ) => $ operation === 'create ' ? __ ('Fields can be added once the field is created. ' ) : '' )
148148 ->hintColor ('primary ' )
149149 ->form ([
150150 Section::make ('Field ' )
@@ -200,10 +200,10 @@ function () {
200200 ])->columnSpanFull (),
201201 Section::make ('Configuration ' )
202202 ->columns (3 )
203- ->schema (fn (Get $ get ) => $ this ->getFieldTypeFormSchema (
203+ ->schema (fn (Get $ get ) => $ this ->getFieldTypeFormSchema (
204204 $ get ('field_type ' )
205205 ))
206- ->visible (fn (Get $ get ) => filled ($ get ('field_type ' ))),
206+ ->visible (fn (Get $ get ) => filled ($ get ('field_type ' ))),
207207 ]),
208208 ])->columns (2 ),
209209 ])->columnSpanFull (),
0 commit comments