fix: first character entered in foreign key input is not displayed (#3770)
This commit is contained in:
parent
556152d7c2
commit
36ce29eace
@ -284,7 +284,7 @@ export const ForeignKey = observer(
|
|||||||
}}
|
}}
|
||||||
onChange={(value, option) => {
|
onChange={(value, option) => {
|
||||||
props?.onChange?.(value);
|
props?.onChange?.(value);
|
||||||
setInitialValue(option.label);
|
setInitialValue(option.label || value);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user