added line break support in user chat input box

This commit is contained in:
Govind Kumar
2023-06-09 19:13:51 +05:30
parent 1cf22c3155
commit 0b00a02ffb
@@ -308,8 +308,9 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
placeholder={loading ? 'Waiting for response...' : 'Type your question...'}
value={userInput}
onChange={onChange}
multiline={true}
endAdornment={
<InputAdornment position='end'>
<InputAdornment position='end' sx={{ padding: '10px' }}>
<IconButton type='submit' disabled={loading || !chatflowid} edge='end'>
{loading ? (
<div>