@etsoo/materialui 1.6.37 → 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.
@@ -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
- // Check 'hasMoreItems' to make sure the 'moreForm' is rendered by purpose
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);
@@ -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
- // Check 'hasMoreItems' to make sure the 'moreForm' is rendered by purpose
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.6.37",
3
+ "version": "1.6.39",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -40,13 +40,13 @@
40
40
  "@dnd-kit/react": "^0.3.2",
41
41
  "@emotion/react": "^11.14.0",
42
42
  "@emotion/styled": "^11.14.1",
43
- "@etsoo/appscript": "^1.6.58",
44
- "@etsoo/notificationbase": "^1.1.67",
45
- "@etsoo/react": "^1.8.82",
46
- "@etsoo/shared": "^1.2.80",
43
+ "@etsoo/appscript": "^1.6.59",
44
+ "@etsoo/notificationbase": "^1.1.68",
45
+ "@etsoo/react": "^1.8.83",
46
+ "@etsoo/shared": "^1.2.81",
47
47
  "@mui/icons-material": "^7.3.9",
48
48
  "@mui/material": "^7.3.9",
49
- "@mui/x-data-grid": "^8.28.0",
49
+ "@mui/x-data-grid": "^8.28.1",
50
50
  "chart.js": "^4.5.1",
51
51
  "chartjs-plugin-datalabels": "^2.2.0",
52
52
  "dompurify": "^3.3.3",
@@ -82,6 +82,6 @@
82
82
  "@vitejs/plugin-react": "^6.0.1",
83
83
  "jsdom": "^29.0.1",
84
84
  "typescript": "^5.9.3",
85
- "vitest": "^4.1.0"
85
+ "vitest": "^4.1.2"
86
86
  }
87
87
  }
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
- // Check 'hasMoreItems' to make sure the 'moreForm' is rendered by purpose
322
- if (hasMoreItems && state.moreForm != null) {
321
+ if (state.moreForm != null) {
323
322
  DomUtils.mergeFormData(data, new FormData(state.moreForm));
324
323
  }
325
324