Rerender selection field in form when name changes
This fixes [MAILPOET-2762]. The original fix was reverted. [MAILPOET-2826]
This commit is contained in:
committed by
Veljko V
parent
b296afd659
commit
572fdc197c
@@ -94,6 +94,7 @@ class FormField extends React.Component {
|
|||||||
case 'selection':
|
case 'selection':
|
||||||
field = (
|
field = (
|
||||||
<FormFieldSelection
|
<FormFieldSelection
|
||||||
|
key={`selection-field-${dataField.name}`}
|
||||||
onValueChange={data.onValueChange}
|
onValueChange={data.onValueChange}
|
||||||
field={data.field}
|
field={data.field}
|
||||||
automationId={data.automationId}
|
automationId={data.automationId}
|
||||||
|
Reference in New Issue
Block a user