Rerender selection field in form when name changes

This fixes [MAILPOET-2762]. The original fix was reverted.
[MAILPOET-2826]
This commit is contained in:
Rostislav Wolny
2020-04-01 20:47:44 +02:00
committed by Veljko V
parent b296afd659
commit 572fdc197c

View File

@@ -94,6 +94,7 @@ class FormField extends React.Component {
case 'selection':
field = (
<FormFieldSelection
key={`selection-field-${dataField.name}`}
onValueChange={data.onValueChange}
field={data.field}
automationId={data.automationId}