Display selected value for product/category for WooCommerce segments

[MAILPOET-2762]
This commit is contained in:
Rostislav Wolny
2020-03-19 15:26:42 +01:00
committed by Veljko V
parent f1aee6f971
commit 8ca759dc9b

View File

@@ -278,7 +278,7 @@ class Selection extends React.Component {
disabled={this.props.field.disabled} disabled={this.props.field.disabled}
data-placeholder={this.props.field.placeholder} data-placeholder={this.props.field.placeholder}
multiple={this.props.field.multiple} multiple={this.props.field.multiple}
defaultValue={selectedValues} value={selectedValues}
{...this.props.field.validation}// eslint-disable-line react/jsx-props-no-spreading {...this.props.field.validation}// eslint-disable-line react/jsx-props-no-spreading
> >
{ this.insertEmptyOption() } { this.insertEmptyOption() }