mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix(web): fix values persisting across input dialogs opened quickly
This commit is contained in:
@@ -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