fix: (regression beta) unit not visible in admin/options for numeric fields
Massimo Melina committed
Mar 29, 2024 at 16:16 UTC
763b39199b9c6d3e828ef166fd4e63da7da1d07d
1 file changed
+2
-2
mui-grid-form/StringField.ts
+2
-2
@@ -66,10 +66,10 @@ export function StringField({ value, onChange, min, max, required, setApi, typin
66
go(ev)
67
},
68
InputProps: {
69
+ startAdornment: start && h(InputAdornment, { position: 'start' }, start),
70
+ endAdornment: end && h(InputAdornment, { position: 'end' }, end),
71
...props.InputProps,
72
...params?.InputProps,
71
- startAdornment: start && h(InputAdornment, { position: 'start' }, start, props?.InputProps?.startAdornment, params?.InputProps?.startAdornment),
72
- endAdornment: end && h(InputAdornment, { position: 'end' }, end, props?.InputProps?.endAdornment, params?.InputProps?.endAdornment),
73
},
74
})
75
return !suggestions ? render(null)