@etsoo/materialui 1.6.38 → 1.6.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/SearchBar.js +1 -2
- package/lib/mjs/SearchBar.js +1 -2
- package/package.json +1 -1
- package/src/SearchBar.tsx +1 -2
package/lib/cjs/SearchBar.js
CHANGED
|
@@ -219,8 +219,7 @@ function SearchBar(props) {
|
|
|
219
219
|
const handleSubmitInstant = (reset = false) => {
|
|
220
220
|
// Prepare data
|
|
221
221
|
const data = new FormData(state.form);
|
|
222
|
-
|
|
223
|
-
if (hasMoreItems && state.moreForm != null) {
|
|
222
|
+
if (state.moreForm != null) {
|
|
224
223
|
shared_1.DomUtils.mergeFormData(data, new FormData(state.moreForm));
|
|
225
224
|
}
|
|
226
225
|
onSubmit(data, reset);
|
package/lib/mjs/SearchBar.js
CHANGED
|
@@ -213,8 +213,7 @@ export function SearchBar(props) {
|
|
|
213
213
|
const handleSubmitInstant = (reset = false) => {
|
|
214
214
|
// Prepare data
|
|
215
215
|
const data = new FormData(state.form);
|
|
216
|
-
|
|
217
|
-
if (hasMoreItems && state.moreForm != null) {
|
|
216
|
+
if (state.moreForm != null) {
|
|
218
217
|
DomUtils.mergeFormData(data, new FormData(state.moreForm));
|
|
219
218
|
}
|
|
220
219
|
onSubmit(data, reset);
|
package/package.json
CHANGED
package/src/SearchBar.tsx
CHANGED
|
@@ -318,8 +318,7 @@ export function SearchBar(props: SearchBarProps) {
|
|
|
318
318
|
// Prepare data
|
|
319
319
|
const data = new FormData(state.form);
|
|
320
320
|
|
|
321
|
-
|
|
322
|
-
if (hasMoreItems && state.moreForm != null) {
|
|
321
|
+
if (state.moreForm != null) {
|
|
323
322
|
DomUtils.mergeFormData(data, new FormData(state.moreForm));
|
|
324
323
|
}
|
|
325
324
|
|