Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear is not working afer i send a message #228

Open
lvlpmserv opened this issue Oct 11, 2024 · 1 comment
Open

Clear is not working afer i send a message #228

lvlpmserv opened this issue Oct 11, 2024 · 1 comment

Comments

@lvlpmserv
Copy link

<Input
placeholder="Type here..."
multiline={true}
onChange={(e) => handleInput(e.target.value)}
value={messageContent}
// onSubmit={() => handleMessageSubmit()}
// onReset={() => handleMessageSubmit()}
clear={(clear) => (inputClear ? clear() : "")}
rightButtons={
<Button
variant="contained"
color="success"
onClick={() => handleMessageSubmit()}
>
Send

}
/>

@lvlpmserv
Copy link
Author

i am trying to find an example of input clear after message is send because it doesn't clear automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant