@dartech/arsenal-ui 1.4.19 → 1.4.20
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
@@ -3483,7 +3483,6 @@ const EntityAdditionalFields = ({
|
|
3483
3483
|
name: `${parentPropertyFieldName}.name`
|
3484
3484
|
});
|
3485
3485
|
const {
|
3486
|
-
fields,
|
3487
3486
|
append,
|
3488
3487
|
remove
|
3489
3488
|
} = useFieldArray({
|
@@ -3571,7 +3570,7 @@ const EntityAdditionalFields = ({
|
|
3571
3570
|
paddingLeft: '4px'
|
3572
3571
|
}
|
3573
3572
|
}, {
|
3574
|
-
children:
|
3573
|
+
children: properties.map((property, index) => jsxs(Step, Object.assign({
|
3575
3574
|
onClick: () => handleStepperClick(index),
|
3576
3575
|
style: {
|
3577
3576
|
cursor: 'pointer'
|
@@ -3609,7 +3608,7 @@ const EntityAdditionalFields = ({
|
|
3609
3608
|
}, {
|
3610
3609
|
children: jsx(CreatePropertiesList, {
|
3611
3610
|
ref: propsRef,
|
3612
|
-
properties:
|
3611
|
+
properties: properties,
|
3613
3612
|
hideAddButton: true,
|
3614
3613
|
// entityPropFields={properties as any}
|
3615
3614
|
parentRemove: remove,
|
@@ -5250,7 +5249,8 @@ const CreatePropertiesList = /*#__PURE__*/forwardRef(({
|
|
5250
5249
|
setValue,
|
5251
5250
|
getValues,
|
5252
5251
|
reset,
|
5253
|
-
trigger
|
5252
|
+
trigger,
|
5253
|
+
watch
|
5254
5254
|
} = useForm({
|
5255
5255
|
mode: 'all',
|
5256
5256
|
defaultValues: {
|