1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-26 18:48:15 +02:00

[GH-1003] Deleted option doesn't go away immediately in select property (#1569)

This commit is contained in:
Nishant Mittal 2021-10-20 01:06:16 +05:30 committed by GitHub
parent 14634fd4e8
commit 96c346ed0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ function ValueSelector(props: Props): JSX.Element {
onBlur={props.onBlur}
onCreateOption={props.onCreate}
autoFocus={true}
value={props.value}
value={props.value || null}
closeMenuOnSelect={true}
placeholder={props.emptyValue}
hideSelectedOptions={false}