Feat: Refactor the MessageForm with shadcn #3221 (#7820)

### What problem does this PR solve?

Feat: Refactor the MessageForm with shadcn #3221

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-05-23 18:45:13 +08:00
committed by GitHub
parent 590b9dabab
commit e604634d2a
9 changed files with 94 additions and 90 deletions

View File

@ -127,7 +127,9 @@ export function useFormConfigMap() {
[Operator.Message]: {
component: MessageForm,
defaultValues: {},
schema: z.object({}),
schema: z.object({
content: z.array(z.string()).optional(),
}),
},
[Operator.Relevant]: {
component: RelevantForm,