mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
fix(web): fix values persisting across input dialogs opened quickly
This commit is contained in:
@@ -16,7 +16,7 @@ const CheckboxField: React.FC<Props> = (props) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box mb={3} key={`checkbox-${props.index}`}>
|
||||
<Box mb={3}>
|
||||
<Checkbox
|
||||
onChange={(e: React.ChangeEvent<HTMLInputElement>) => props.handleChange(e.target.checked, props.index)}
|
||||
defaultChecked={props.row.checked}
|
||||
|
||||
Reference in New Issue
Block a user