mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-12-23 03:23:48 +01:00
more flexibele code
This commit is contained in:
parent
8c546e31b3
commit
ed8ccd3f68
@ -36,7 +36,7 @@ SettingsGroup.propTypes = {
|
||||
export const SelectField = (props, context) => (
|
||||
<MaterialUISelectField
|
||||
{ ...props }
|
||||
value={context.state[props.name]}
|
||||
value={_.get(context.state, props.name)}
|
||||
onChange={(event, index, value) => context.onChange(props.name, value)}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user