-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
This is an awesome component. But I'm having an issue when trying to use the render function to display radio inputs.
I have fields including three radio buttons that all look something like this:
{
name: "yes",
displayName: "Yes",
sortable: true,
render: ({ record, value }) => {
return (
<input
type="radio"
name={`submission-approved-${record.uid}`}
value="yes"
checked={value}
onChange={e => handleChange(e, record.uid)}
/>
);
}
}
On the first render, everything is perfect. It's only after trying to sort a column that the inputs start to ignore their checked attribute. clicking a radio triggers a rerender and all inputs show correctly again. I'm stumped...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
