@@ -106,45 +106,45 @@ public function getForm(): array
106106 ->label (__ ('Preload ' ))
107107 ->live ()
108108 ->inline (false )
109- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
109+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
110110 ])->columnSpanFull (),
111111 self ::optionFormFields (),
112112 self ::affixFormFields (),
113113 Forms \Components \Grid::make (2 )
114114 ->schema ([
115115 Forms \Components \TextInput::make ('config.loadingMessage ' )
116116 ->label (__ ('Loading 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.noSearchResultsMessage ' )
119119 ->label (__ ('No search results message ' ))
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.searchPrompt ' )
122122 ->label (__ ('Search prompt ' ))
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.searchingMessage ' )
125125 ->label (__ ('Searching message ' ))
126- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
126+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
127127 Forms \Components \TextInput::make ('config.searchDebounce ' )
128128 ->numeric ()
129129 ->minValue (0 )
130130 ->step (100 )
131131 ->label (__ ('Search debounce ' ))
132- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
132+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
133133 Forms \Components \TextInput::make ('config.optionsLimit ' )
134134 ->numeric ()
135135 ->minValue (0 )
136136 ->label (__ ('Options limit ' ))
137- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
137+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
138138 Forms \Components \TextInput::make ('config.minItemsForSearch ' )
139139 ->numeric ()
140140 ->minValue (0 )
141141 ->label (__ ('Min items for search ' ))
142- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
142+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
143143 Forms \Components \TextInput::make ('config.maxItemsForSearch ' )
144144 ->numeric ()
145145 ->minValue (0 )
146146 ->label (__ ('Max items for search ' ))
147- ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
147+ ->visible (fn (Forms \Get $ get ): bool => $ get ('config.searchable ' )),
148148 ]),
149149 ]),
150150 ])->columnSpanFull (),
0 commit comments