@open-mercato/ui 0.6.7-develop.6726.1.983ae8a07e → 0.6.7-develop.6749.1.6b54c56dfe
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/.turbo/turbo-build.log +1 -1
- package/dist/backend/CrudForm.js +2 -1
- package/dist/backend/CrudForm.js.map +2 -2
- package/dist/backend/sidebar/SidebarCustomizationEditor.js +30 -2
- package/dist/backend/sidebar/SidebarCustomizationEditor.js.map +2 -2
- package/dist/backend/sidebar/customization-helpers.js +30 -0
- package/dist/backend/sidebar/customization-helpers.js.map +2 -2
- package/dist/backend/utils/customFieldForms.js +10 -9
- package/dist/backend/utils/customFieldForms.js.map +2 -2
- package/dist/backend/utils/fetchAllPages.js +57 -0
- package/dist/backend/utils/fetchAllPages.js.map +7 -0
- package/package.json +3 -3
- package/src/backend/CrudForm.tsx +10 -1
- package/src/backend/__tests__/CrudForm.fieldsetBinding.test.tsx +158 -0
- package/src/backend/sidebar/SidebarCustomizationEditor.tsx +42 -3
- package/src/backend/sidebar/__tests__/group-visibility.test.ts +131 -0
- package/src/backend/sidebar/customization-helpers.ts +47 -0
- package/src/backend/utils/__tests__/customFieldForms.optionsPaging.test.ts +95 -0
- package/src/backend/utils/__tests__/fetchAllPages.test.ts +103 -0
- package/src/backend/utils/customFieldForms.ts +15 -11
- package/src/backend/utils/fetchAllPages.ts +93 -0
package/.turbo/turbo-build.log
CHANGED
package/dist/backend/CrudForm.js
CHANGED
|
@@ -1798,10 +1798,11 @@ function CrudForm({
|
|
|
1798
1798
|
}, [validateFieldOnBlur]);
|
|
1799
1799
|
const handleFieldsetSelectionChange = React.useCallback(
|
|
1800
1800
|
(entityId2, nextCode) => {
|
|
1801
|
+
if (!nextCode) return;
|
|
1801
1802
|
setCfFieldsetSelections((prev) => ({ ...prev, [entityId2]: nextCode }));
|
|
1802
1803
|
const bindingKey = customFieldsetBindings?.[entityId2]?.valueKey;
|
|
1803
1804
|
if (bindingKey) {
|
|
1804
|
-
setValue(bindingKey, nextCode
|
|
1805
|
+
setValue(bindingKey, nextCode);
|
|
1805
1806
|
}
|
|
1806
1807
|
},
|
|
1807
1808
|
[customFieldsetBindings, setValue]
|