IO-2327 updated test cases for intake checklist

This commit is contained in:
swtmply
2023-07-29 17:21:00 +08:00
parent 8b4ce18409
commit d12ff11deb
3 changed files with 33 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ import FormTypes from "./config-form-types";
export default function ConfirmFormComponents({ componentList, readOnly }) {
return (
<div>
<div data-cy="config-form-components">
{componentList.map((f, idx) => {
const Comp = FormTypes[f.type];

View File

@@ -32,6 +32,7 @@ export default function JobIntakeFormCheckboxComponent({ formItem, readOnly }) {
min={min || 0}
max={max || 10}
marks={marks}
style={{ marginBottom: 0, marginTop: 0 }}
/>
</Form.Item>
);