Skip to content

Commit 3789a93

Browse files
Samuele Alfredo FurnariSamuele Alfredo Furnari
authored andcommitted
fixed image field value deletion
1 parent 7112cbd commit 3789a93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controls/dynamicForm/dynamicField/DynamicField.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,11 +522,11 @@ export class DynamicField extends React.Component<IDynamicFieldProps, IDynamicFi
522522
} = this.props;
523523

524524
this.setState({
525-
changedValue: undefined
525+
changedValue: ''
526526
});
527527

528528
if (onChanged) {
529-
onChanged(columnInternalName, undefined, undefined);
529+
onChanged(columnInternalName, '', undefined);
530530
}
531531
}
532532

0 commit comments

Comments
 (0)