Skip to content

Commit

Permalink
fix: fix send auto clear no work error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Oct 26, 2023
1 parent e982a75 commit 0977ca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ProChat/components/InputArea/AutoCompleteTextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const AutoCompleteTextArea: React.FC<TextAreaProps> = (props) => {
style={{
height: 'max-content',
}}
value={props.value}
onSelect={(value) => {
props.onChange?.({ target: { value } } as any);
setOptions([]);
Expand Down

0 comments on commit 0977ca1

Please sign in to comment.