@@ -104,44 +104,44 @@ public function getForm(): array
104104 ->label (__ ('Preload ' ))
105105 ->live ()
106106 ->inline (false )
107- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
107+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
108108 // self::optionFormFields(),
109109 self ::affixFormFields (),
110110 Forms \Components \Grid::make (2 )
111111 ->schema ([
112112 Forms \Components \TextInput::make ('config.loadingMessage ' )
113113 ->label (__ ('Loading message ' ))
114- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
114+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
115115 Forms \Components \TextInput::make ('config.noSearchResultsMessage ' )
116116 ->label (__ ('No search results message ' ))
117- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
117+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
118118 Forms \Components \TextInput::make ('config.searchPrompt ' )
119119 ->label (__ ('Search prompt ' ))
120- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
120+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
121121 Forms \Components \TextInput::make ('config.searchingMessage ' )
122122 ->label (__ ('Searching message ' ))
123- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
123+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
124124 Forms \Components \TextInput::make ('config.searchDebounce ' )
125125 ->numeric ()
126126 ->minValue (0 )
127127 ->step (100 )
128128 ->label (__ ('Search debounce ' ))
129- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
129+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
130130 Forms \Components \TextInput::make ('config.optionsLimit ' )
131131 ->numeric ()
132132 ->minValue (0 )
133133 ->label (__ ('Options limit ' ))
134- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
134+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
135135 Forms \Components \TextInput::make ('config.minItemsForSearch ' )
136136 ->numeric ()
137137 ->minValue (0 )
138138 ->label (__ ('Min items for search ' ))
139- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
139+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
140140 Forms \Components \TextInput::make ('config.maxItemsForSearch ' )
141141 ->numeric ()
142142 ->minValue (0 )
143143 ->label (__ ('Max items for search ' ))
144- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
144+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
145145 ]),
146146 ]),
147147 ])->columnSpanFull (),
0 commit comments