A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: custome form support render html in form text
shuai6e25d63abd52
diff --git a/ui/src/components/SchemaForm/index.tsx b/ui/src/components/SchemaForm/index.tsxindex 54ed6e9f..16ea9dab 100644--- a/ui/src/components/SchemaForm/index.tsx+++ b/ui/src/components/SchemaForm/index.tsx@@ -365,7 +365,10 @@ const SchemaForm: ForwardRefRenderFunction<FormRef, FormProps> = ({fieldState?.errorMsg}</Form.Control.Feedback>{description ? (- <Form.Text className="text-muted">{description}</Form.Text>+ <Form.Text+ className="text-muted"+ dangerouslySetInnerHTML={{ __html: description }}+ />) : null}</Form.Group>);