feat: Add customized json schema validation (#25408)

This commit is contained in:
Wu Tianwei
2025-09-09 15:15:32 +08:00
committed by GitHub
parent 4aba570fa8
commit 37975319f2
5 changed files with 289 additions and 187 deletions

View File

@@ -17,7 +17,7 @@ const ErrorMessage: FC<ErrorMessageProps> = ({
className,
)}>
<RiErrorWarningFill className='h-4 w-4 shrink-0 text-text-destructive' />
<div className='system-xs-medium max-h-12 grow overflow-y-auto break-words text-text-primary'>
<div className='system-xs-medium max-h-12 grow overflow-y-auto whitespace-pre-line break-words text-text-primary'>
{message}
</div>
</div>