mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-02 09:47:00 +03:00
F OpenNebula/one#6430: Make textcontroller area resizable (#3132)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
This commit is contained in:
parent
e731f41f54
commit
42c0df339b
@ -94,6 +94,7 @@ const TextController = memo(
|
||||
max: fieldProps.max,
|
||||
step: fieldProps.step,
|
||||
}),
|
||||
...(multiline && { style: { resize: 'both' } }),
|
||||
}}
|
||||
error={Boolean(error)}
|
||||
helperText={
|
||||
@ -101,6 +102,7 @@ const TextController = memo(
|
||||
}
|
||||
FormHelperTextProps={{ 'data-cy': `${cy}-error` }}
|
||||
{...fieldProps}
|
||||
sx={multiline ? { textarea: { resize: 'both' } } : {}}
|
||||
/>
|
||||
)
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user