-
Is there a way to use a JSX component for the const schema = {
title: "Person",
type: "object",
properties: {
firstName: { type: "string", help: <a href="#">click here</a> },
lastName: { type: "string" },
},
required: ["firstName", "lastName"],
}; |
Beta Was this translation helpful? Give feedback.
Answered by
radekmie
Jan 10, 2022
Replies: 1 comment 2 replies
-
Hi @possumop, sorry for the late response. I believe you're using the AntD or Bootstrap theme, right? If so, you can pass the const schema = {
title: "Person",
type: "object",
properties: {
firstName: { type: "string", uniforms: { help: <a href="#">click here</a> } },
lastName: { type: "string" },
},
required: ["firstName", "lastName"],
}; Keep in mind it won't work in our playground, but it will in your project. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
radekmie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @possumop, sorry for the late response. I believe you're using the AntD or Bootstrap theme, right? If so, you can pass the
help
prop, as well as any other, through theuniforms
property. Like this:Keep in mind it won't work in our playground, but it will in your project.