mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-23 08:56:42 +08:00
fix: use FormLabel required prop for consistent asterisk color in search settings (#17223)
This commit is contained in:
@@ -444,10 +444,7 @@ const SearchSetting: React.FC<SearchSettingProps> = ({
|
||||
// rules={{ required: 'Model is required' }}
|
||||
render={({ field }) => (
|
||||
<FormItem className="flex flex-col">
|
||||
<FormLabel>
|
||||
<span className="text-destructive mr-1"> *</span>
|
||||
{t('chat.model')}
|
||||
</FormLabel>
|
||||
<FormLabel required>{t('chat.model')}</FormLabel>
|
||||
<FormControl>
|
||||
<ModelTreeSelect
|
||||
modelTypes={['rerank']}
|
||||
|
||||
Reference in New Issue
Block a user