@realtek/core-theme 0.0.237 → 0.0.238
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/dist-lib/index.cjs +1 -1
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +7 -2
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -6476,6 +6476,10 @@ function Pp({ field: e, form: t, name: n, moduleName: r, value: i, checked: s, o
|
|
|
6476
6476
|
h([]), _(!1);
|
|
6477
6477
|
return;
|
|
6478
6478
|
}
|
|
6479
|
+
if (t === "lookup" && e.lookupMinSearchLength && b.trim().length < e.lookupMinSearchLength) {
|
|
6480
|
+
h([]), _(!1);
|
|
6481
|
+
return;
|
|
6482
|
+
}
|
|
6479
6483
|
let n = !1;
|
|
6480
6484
|
_(!0);
|
|
6481
6485
|
async function i() {
|
|
@@ -6534,7 +6538,8 @@ function Pp({ field: e, form: t, name: n, moduleName: r, value: i, checked: s, o
|
|
|
6534
6538
|
r,
|
|
6535
6539
|
e.extraFields,
|
|
6536
6540
|
e.optionsRequireExtraField,
|
|
6537
|
-
w
|
|
6541
|
+
w,
|
|
6542
|
+
e.lookupMinSearchLength
|
|
6538
6543
|
]);
|
|
6539
6544
|
let fe = Gf(e.options ?? e.values ?? []), pe = m ?? fe, me = (e.multiSelect ? "multiple" : e.mode ?? (Uf(e.multiple) ? "multiple" : void 0)) ?? (nt(e) === "array" ? "multiple" : void 0), he = ["select", "location"].includes(f), ge = e.hidePlaceholder ? void 0 : e.placeholder ?? `${he ? "Select" : "Enter"} ${String(e.label ?? "").toLowerCase()}`, _e = Tp(e), ve = (e) => {
|
|
6540
6545
|
c?.(e), setTimeout(() => {
|
|
@@ -8166,7 +8171,7 @@ function zp({ moduleName: e, action: t, authToken: n, clientId: r, region: i, fo
|
|
|
8166
8171
|
disabled: !Mt || pe || !ot.length,
|
|
8167
8172
|
loading: pe,
|
|
8168
8173
|
onFire: () => {
|
|
8169
|
-
lt.current = e.afterSubmit ?? { mode: "stay" }, j.submit();
|
|
8174
|
+
lt.current = e.afterSubmit ?? { mode: "stay" }, e.setValuesBeforeSubmit && j.setFieldsValue(e.setValuesBeforeSubmit), j.submit();
|
|
8170
8175
|
}
|
|
8171
8176
|
}, `${e.label ?? "action"}-${t}`)),
|
|
8172
8177
|
/* @__PURE__ */ X(Zf, {
|