impaktapps-ui-builder 0.0.382-alpha.323 → 0.0.382-alpha.325

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.
@@ -9147,6 +9147,7 @@ var service = (funcParams) => {
9147
9147
  };
9148
9148
  return {
9149
9149
  setPage: async function() {
9150
+ funcParams.store.setFormdata({});
9150
9151
  executeEventsParameters = {
9151
9152
  config: {},
9152
9153
  componentName: "",
@@ -9157,28 +9158,20 @@ var service = (funcParams) => {
9157
9158
  serviceHolder: this,
9158
9159
  eventGroups
9159
9160
  };
9160
- funcParams.store.setSchema(
9161
- (pre) => {
9162
- return {
9163
- ...funcParams.schema,
9164
- properties: { ...funcParams.schema.properties, ...pre.properties }
9165
- };
9166
- }
9167
- );
9161
+ funcParams.store.setFormdata({ testKey: "testValue" });
9162
+ console.log("After Setting Specific Value:", funcParams.store.formData);
9163
+ funcParams.store.setSchema(funcParams.schema);
9168
9164
  funcParams.uiSchema.elements.push(notifyUiSchema);
9169
9165
  funcParams.store.setUiSchema(funcParams.uiSchema);
9170
- funcParams.store.setFormdata(() => {
9171
- executeRefreshHandler({
9172
- config: {},
9173
- componentName: "",
9174
- store: funcParams.store,
9175
- dynamicData: funcParams.dynamicData,
9176
- userValue: funcParams.userValue,
9177
- service: funcParams.service,
9178
- serviceHolder: this,
9179
- eventGroups
9180
- });
9181
- return {};
9166
+ await executeRefreshHandler({
9167
+ config: {},
9168
+ componentName: "",
9169
+ store: funcParams.store,
9170
+ dynamicData: funcParams.dynamicData,
9171
+ userValue: funcParams.userValue,
9172
+ service: funcParams.service,
9173
+ serviceHolder: this,
9174
+ eventGroups
9182
9175
  });
9183
9176
  },
9184
9177
  onClick: async function() {