form-builder-pro 1.0.9 → 1.0.10

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/index.mjs CHANGED
@@ -4186,6 +4186,9 @@ var cleanFormSchema = (schema) => {
4186
4186
  if (field.type === "select" && field.groupName) {
4187
4187
  cleaned.groupName = field.groupName;
4188
4188
  }
4189
+ if (field.type === "select" && field.masterTypeName !== void 0) {
4190
+ cleaned.masterTypeName = field.masterTypeName;
4191
+ }
4189
4192
  return cleaned;
4190
4193
  };
4191
4194
  return {
@@ -7999,6 +8002,7 @@ var FormBuilder = class {
7999
8002
  id: selectedMasterType.id,
8000
8003
  name: selectedMasterType.name
8001
8004
  },
8005
+ masterTypeName: selectedEnumName,
8002
8006
  options: options.length > 0 ? options : void 0
8003
8007
  });
8004
8008
  if (this.options.onGroupSelectionChange) {
@@ -8011,6 +8015,7 @@ var FormBuilder = class {
8011
8015
  } else {
8012
8016
  formStore.getState().updateField(selectedField.id, {
8013
8017
  groupName: void 0,
8018
+ masterTypeName: void 0,
8014
8019
  options: void 0
8015
8020
  // Clear options when groupName is cleared
8016
8021
  });