feat: fix checkbox colors for feedback (#244)

This commit is contained in:
Raymond Zhou
2023-02-14 09:34:55 -08:00
committed by GitHub
parent b4f1676acf
commit 529ec8ddf2
2 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ export const GroupFeedbackRow = ({
className="mr-4 mt-1"
value={letter.id}
checked={value.answers.indexOf(letter.id)}
isValid={value.answers.indexOf(letter.id)}
isValid={value.answers.indexOf(letter.id) >= 0}
>{letter.id}
</Form.Checkbox>
))}

View File

@@ -37,22 +37,22 @@ exports[`GroupFeedbackRow snapshot snapshot: renders hints row 1`] = `
<Form.Checkbox
checked={-1}
className="mr-4 mt-1"
isValid={-1}
isValid={false}
/>
<Form.Checkbox
checked={-1}
className="mr-4 mt-1"
isValid={-1}
isValid={false}
/>
<Form.Checkbox
checked={-1}
className="mr-4 mt-1"
isValid={-1}
isValid={false}
/>
<Form.Checkbox
checked={-1}
className="mr-4 mt-1"
isValid={-1}
isValid={false}
/>
</Row>
</Component>