mirror of
https://github.com/strapi/strapi.git
synced 2025-11-10 15:19:00 +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',
|
defaultMessage: 'Stage name',
|
||||||
})}
|
})}
|
||||||
error={meta.error ?? false}
|
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>
|
</GridItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user