Add text to app's signup table

This commit is contained in:
Yang Luo
2023-10-15 17:37:33 +08:00
parent f3d4b45a0f
commit 2dd1dc582f
3 changed files with 44 additions and 6 deletions

View File

@ -529,6 +529,10 @@ class SignupPage extends React.Component {
);
} else if (signupItem.name === "Agreement") {
return AgreementModal.renderAgreementFormItem(application, required, tailFormItemLayout, this);
} else if (signupItem.name.startsWith("Text ")) {
return (
<div dangerouslySetInnerHTML={{__html: signupItem.label}} />
);
}
}