-
Notifications
You must be signed in to change notification settings - Fork 350
Switched from checkboxes to Radio buttons in Organization Management #2043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
setSelectedRowIds([...selectedRowIds, row.id]); | ||
} | ||
}} | ||
/> | ||
<TableCell key={cell.id} style={{ textAlign: "center" }}> | ||
<RadioButton | ||
id={`radio-${row.id}`} | ||
name="organization-radio-group" | ||
checked={selectedRowIds.includes(row.id)} | ||
onChange={() => { | ||
setSelectedRowIds([row.id]); | ||
const isActiveCell = row.cells.find((cell) => | ||
cell.id.endsWith(":active"), | ||
); | ||
let isActiveValue = ""; | ||
if (isActiveCell) { | ||
isActiveValue = isActiveCell.value; | ||
} | ||
setDeactivateButton(isActiveValue !== "Y"); | ||
}} | ||
labelText="" | ||
style={{ margin: "0 auto" }} | ||
/> | ||
</TableCell> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohhh so basing on the backend implementation, we need to keep them as checkboxes??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes @Lemeri123
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohhh makes sense @adityadeshlahre. I guess maybe @mozzy11 can tell us what to do.
Pull Requests Requirements
Issue number if applicable.
documentation.
Summary
Screenshots
[Add relevant screenshots here if applicable]
Screencast from 2025-06-05 13-28-03.webm
Related Issue
[Add a link to the related issue or mention it here if applicable]
closes #2038
Other
[Add any additional information or notes here]