mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
added line break support in user chat input box
This commit is contained in:
@@ -308,8 +308,9 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
|
|||||||
placeholder={loading ? 'Waiting for response...' : 'Type your question...'}
|
placeholder={loading ? 'Waiting for response...' : 'Type your question...'}
|
||||||
value={userInput}
|
value={userInput}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
|
multiline={true}
|
||||||
endAdornment={
|
endAdornment={
|
||||||
<InputAdornment position='end'>
|
<InputAdornment position='end' sx={{ padding: '10px' }}>
|
||||||
<IconButton type='submit' disabled={loading || !chatflowid} edge='end'>
|
<IconButton type='submit' disabled={loading || !chatflowid} edge='end'>
|
||||||
{loading ? (
|
{loading ? (
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user