mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-24 03:48:37 +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
@@ -21,7 +21,7 @@ const SelectField: React.FC<Props> = (props) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Box mb={3} key={`select-${props.row.label}-${props.index}`}>
|
||||
<Box mb={3}>
|
||||
<Select
|
||||
onChange={(e: React.ChangeEvent<HTMLSelectElement>) => props.handleChange(e.target.value, props.index)}
|
||||
defaultValue={props.row.default || ''}
|
||||
|
||||
Reference in new issue
Block a user