mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 17:19:01 +08:00
fix(web): able to enter Chinese characters in the view-form-dropdown (#19555)
Co-authored-by: fadeaway <chaofanchi@gmail.com>
This commit is contained in:
parent
14cd71ed0a
commit
24f56df8c3
@ -1,4 +1,4 @@
|
||||
import React, { useCallback } from 'react'
|
||||
import React, { memo, useCallback } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useChatWithHistoryContext } from '../context'
|
||||
import Input from '@/app/components/base/input'
|
||||
@ -112,4 +112,4 @@ const InputsFormContent = ({ showTip }: Props) => {
|
||||
)
|
||||
}
|
||||
|
||||
export default InputsFormContent
|
||||
export default memo(InputsFormContent)
|
||||
|
@ -1,4 +1,4 @@
|
||||
import React, { useCallback } from 'react'
|
||||
import React, { memo, useCallback } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useEmbeddedChatbotContext } from '../context'
|
||||
import Input from '@/app/components/base/input'
|
||||
@ -112,4 +112,4 @@ const InputsFormContent = ({ showTip }: Props) => {
|
||||
)
|
||||
}
|
||||
|
||||
export default InputsFormContent
|
||||
export default memo(InputsFormContent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user