mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where textarea should be allowed to resize and have more than 255 chars. Fixes #6976
This commit is contained in:
parent
31849ea95f
commit
1ed4d0f95e
@ -25,3 +25,4 @@ Bug fixes
|
|||||||
| `Issue #6940 <https://redmine.postgresql.org/issues/6940>`_ - Fixed an issue where user details are not shown when the non-admin user tries to connect to the shared server.
|
| `Issue #6940 <https://redmine.postgresql.org/issues/6940>`_ - Fixed an issue where user details are not shown when the non-admin user tries to connect to the shared server.
|
||||||
| `Issue #6949 <https://redmine.postgresql.org/issues/6949>`_ - Ensure that dialog should be opened when clicking on Reassign/Drop owned menu.
|
| `Issue #6949 <https://redmine.postgresql.org/issues/6949>`_ - Ensure that dialog should be opened when clicking on Reassign/Drop owned menu.
|
||||||
| `Issue #6954 <https://redmine.postgresql.org/issues/6954>`_ - Ensure that changing themes should work on Windows when system high contrast mode is enabled.
|
| `Issue #6954 <https://redmine.postgresql.org/issues/6954>`_ - Ensure that changing themes should work on Windows when system high contrast mode is enabled.
|
||||||
|
| `Issue #6976 <https://redmine.postgresql.org/issues/6976>`_ - Fixed an issue where textarea should be allowed to resize and have more than 255 chars.
|
||||||
|
@ -101,6 +101,7 @@ basicSettings = createMuiTheme(basicSettings, {
|
|||||||
},
|
},
|
||||||
inputMultiline: {
|
inputMultiline: {
|
||||||
padding: basicSettings.spacing(0.75, 1.5),
|
padding: basicSettings.spacing(0.75, 1.5),
|
||||||
|
resize: 'auto',
|
||||||
},
|
},
|
||||||
adornedEnd: {
|
adornedEnd: {
|
||||||
paddingRight: basicSettings.spacing(1.5),
|
paddingRight: basicSettings.spacing(1.5),
|
||||||
|
@ -345,7 +345,7 @@ export const InputText = forwardRef(({
|
|||||||
className={classes.formInput}
|
className={classes.formInput}
|
||||||
inputProps={{
|
inputProps={{
|
||||||
id: cid,
|
id: cid,
|
||||||
maxLength: maxlength,
|
maxLength: controlProps?.multiline ? null : maxlength,
|
||||||
'aria-describedby': helpid,
|
'aria-describedby': helpid,
|
||||||
...(type ? {pattern: !_.isUndefined(controlProps) && !_.isUndefined(controlProps.pattern) ? controlProps.pattern : patterns[type]} : {})
|
...(type ? {pattern: !_.isUndefined(controlProps) && !_.isUndefined(controlProps.pattern) ? controlProps.pattern : patterns[type]} : {})
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user