Fix proptypes warning in Selection
[MAILPOET-2746]
This commit is contained in:
committed by
Veljko V
parent
e9c3049576
commit
136b1050a1
@@ -278,7 +278,8 @@ class Selection extends React.Component {
|
||||
disabled={this.props.field.disabled}
|
||||
data-placeholder={this.props.field.placeholder}
|
||||
multiple={this.props.field.multiple}
|
||||
value={selectedValues}
|
||||
value={selectedValues || undefined}
|
||||
onChange={() => null}
|
||||
{...this.props.field.validation}// eslint-disable-line react/jsx-props-no-spreading
|
||||
>
|
||||
{ this.insertEmptyOption() }
|
||||
|
Reference in New Issue
Block a user