mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-25 04:18:35 +00:00
fix(web): fix values persisting across input dialogs opened quickly
This commit is contained in:
1 parent
41b0850764
commit
abff60d4ed
4 files changed
+4
-5
No files matched your search
@@ -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