Merge pull request #280 from govind-kumarr/feature/Support-line-breaks
added line break support in user chat input box
This commit is contained in:
commit
cc2bcde79b
|
|
@ -364,8 +364,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: '15px' }}>
|
||||
<IconButton type='submit' disabled={loading || !chatflowid} edge='end'>
|
||||
{loading ? (
|
||||
<div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue