@integry/sdk 4.5.50 → 4.5.51
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/package.json
CHANGED
|
@@ -67,6 +67,7 @@ interface ListBoxProps {
|
|
|
67
67
|
optionKeyPath?: string;
|
|
68
68
|
valueKeyPath?: string;
|
|
69
69
|
dataSourceBody?: any;
|
|
70
|
+
parentFieldChanged?: boolean;
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
const ListBox = (props: ListBoxProps) => {
|
|
@@ -108,6 +109,7 @@ const ListBox = (props: ListBoxProps) => {
|
|
|
108
109
|
disabled = false,
|
|
109
110
|
isMultiSelect = false,
|
|
110
111
|
dataSourceBody = {},
|
|
112
|
+
parentFieldChanged = false,
|
|
111
113
|
} = props;
|
|
112
114
|
|
|
113
115
|
const [query, setQuery] = useState<string>('');
|
|
@@ -350,7 +352,13 @@ const ListBox = (props: ListBoxProps) => {
|
|
|
350
352
|
setItems(responseMapper(checkboxItems));
|
|
351
353
|
setLoading(false);
|
|
352
354
|
}
|
|
353
|
-
}, [
|
|
355
|
+
}, [
|
|
356
|
+
endpointData,
|
|
357
|
+
skipOptionFetch,
|
|
358
|
+
endpointUrl,
|
|
359
|
+
selectedAuthId,
|
|
360
|
+
parentFieldChanged,
|
|
361
|
+
]);
|
|
354
362
|
|
|
355
363
|
const handleKeyDown = (event: KeyboardEvent) => {
|
|
356
364
|
if (event.key === 'Tab') {
|
|
@@ -1347,6 +1347,7 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1347
1347
|
this.props.stepMapping[this.props.step.id]
|
|
1348
1348
|
?.selectedAuthId,
|
|
1349
1349
|
...this.fieldDynamicData(el),
|
|
1350
|
+
...this.state.dynamicFieldsData,
|
|
1350
1351
|
})}
|
|
1351
1352
|
isReadOnly=${isReadOnly}
|
|
1352
1353
|
isChanged=${
|
|
@@ -1387,6 +1388,9 @@ class ActionForm extends Component<ActionFormPropsType, ActionFormStateType> {
|
|
|
1387
1388
|
)}
|
|
1388
1389
|
optionKeyPath=${uiField?.value_key_path || ''}
|
|
1389
1390
|
valueKeyPath=${uiField?.option_key_path || ''}
|
|
1391
|
+
parentFieldChanged=${
|
|
1392
|
+
this.state.parentFieldChanged
|
|
1393
|
+
}
|
|
1390
1394
|
><//>
|
|
1391
1395
|
</${ConfigureFieldWrapper}>
|
|
1392
1396
|
</div>`;
|