mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 19:04:38 +00:00
Settings: Update redux state onChange instead of onBlur
This commit is contained in:
parent
dc8c0164aa
commit
ac05b59a32
@ -61,7 +61,10 @@ function Stage({ id, name, index, canDelete, isOpen: isOpenDefault = false }) {
|
||||
defaultMessage: 'Stage name',
|
||||
})}
|
||||
error={meta.error ?? false}
|
||||
onBlur={(event) => dispatch(updateStage(id, { name: event.target.value }))}
|
||||
onChange={(event) => {
|
||||
field.onChange(event);
|
||||
dispatch(updateStage(id, { name: event.target.value }));
|
||||
}}
|
||||
/>
|
||||
</GridItem>
|
||||
</Grid>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user