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:
Henry Heng 2023-06-09 16:37:30 +01:00 committed by GitHub
commit cc2bcde79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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>