mirror of https://github.com/langgenius/dify.git
fix(search-input): ensure proper value extraction in composition end handler (#26147)
This commit is contained in:
parent
a4acc64afd
commit
9b36059292
|
|
@ -53,7 +53,7 @@ const SearchInput: FC<SearchInputProps> = ({
|
|||
}}
|
||||
onCompositionEnd={(e) => {
|
||||
isComposing.current = false
|
||||
onChange(e.data)
|
||||
onChange(e.currentTarget.value)
|
||||
}}
|
||||
onFocus={() => setFocus(true)}
|
||||
onBlur={() => setFocus(false)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue