Ensure InputAddress doesn't return non-filtered (#4473)
This commit is contained in:
parent
760cb9dbe7
commit
3eb5cd6270
@ -226,7 +226,11 @@ class InputAddress extends React.PureComponent<Props, State> {
|
||||
|
||||
!filter && setLastValue(type, address);
|
||||
|
||||
onChange && onChange(transformToAccountId(address));
|
||||
onChange && onChange(
|
||||
this.hasValue(address)
|
||||
? transformToAccountId(address)
|
||||
: null
|
||||
);
|
||||
}
|
||||
|
||||
private onChangeMulti = (addresses: string[]): void => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user