Skip to content

Commit

Permalink
Updated Evaluation.jsx
Browse files Browse the repository at this point in the history
Chechbox error fixed
  • Loading branch information
FabioKoshy authored Nov 27, 2024
1 parent f6f198a commit d5d3869
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions src/pages/Evaluation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,18 @@ const Evaluation = () => {
<tr key={member.email}>
<td>{member.name}</td>
<td>
<input
id={`checkbox-${member.name}`}
type="checkbox"
name="selectedMember"
className="checkmark"
onClick={() => handleSelectMember(member.name)}
checked={selectedMembers.includes(member.name)}
/>
<label htmlFor={`checkbox-${member.name}`}>
Select {member.name}
<span className="checkmark"></span>
</label>

</td>
<input
id={`checkbox-${member.name}`}
type="checkbox"
name="selectedMember"
className="checkmark"
onClick={() => handleSelectMember(member.name)}
checked={selectedMembers.includes(member.name)}
/>
<label htmlFor={`checkbox-${member.name}`} className="visually-hidden">
{`Checkbox to evaluate ${member.name}`}
</label>
</td>
</tr>
))}
</tbody>
Expand Down

0 comments on commit d5d3869

Please sign in to comment.