mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-03 16:57:48 +08:00
Fix: UI Placeholder and Hint Optimization (#13416)
### What problem does this PR solve? Fix: UI Placeholder and Hint Optimization ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -60,7 +60,7 @@ export const CrossLanguageFormField = ({
|
||||
<FormControl>
|
||||
<MultiSelect
|
||||
options={crossLanguageOptions}
|
||||
placeholder={t('fileManager.pleaseSelect')}
|
||||
placeholder={t('chat.crossLanguagePlaceholder')}
|
||||
maxCount={100}
|
||||
{...field}
|
||||
onValueChange={field.onChange}
|
||||
|
||||
@ -127,7 +127,7 @@ export function KnowledgeBaseFormField({
|
||||
onValueChange={(value) => {
|
||||
handleDatasetSelectChange(value, field.onChange);
|
||||
}}
|
||||
placeholder={t('chat.knowledgeBasesMessage')}
|
||||
placeholder={t('chat.knowledgeBasesPlaceholder')}
|
||||
variant="inverted"
|
||||
maxCount={100}
|
||||
defaultValue={field.value}
|
||||
|
||||
@ -227,7 +227,10 @@ const RaptorFormFields = ({
|
||||
render={({ field }) => (
|
||||
<FormItem className=" items-center space-y-0 ">
|
||||
<div className="flex items-center">
|
||||
<FormLabel className="text-sm whitespace-wrap w-1/4">
|
||||
<FormLabel
|
||||
className="text-sm whitespace-wrap w-1/4"
|
||||
tooltip={t('randomSeedTip')}
|
||||
>
|
||||
{t('randomSeed')}
|
||||
</FormLabel>
|
||||
<div className="w-3/4">
|
||||
|
||||
@ -39,6 +39,7 @@ function RerankFormField() {
|
||||
<FormControl>
|
||||
<SelectWithSearch
|
||||
allowClear
|
||||
placeholder={t('rerankPlaceholder')}
|
||||
{...field}
|
||||
options={options}
|
||||
></SelectWithSearch>
|
||||
|
||||
Reference in New Issue
Block a user