Fixed an issue where textarea should be allowed to resize and have more than 255 chars. Fixes #6976

This commit is contained in:
Aditya Toshniwal 2021-11-07 10:51:54 +05:30 committed by Akshay Joshi
parent 31849ea95f
commit 1ed4d0f95e
3 changed files with 3 additions and 1 deletions

View File

@ -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 #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 #6976 <https://redmine.postgresql.org/issues/6976>`_ - Fixed an issue where textarea should be allowed to resize and have more than 255 chars.

View File

@ -101,6 +101,7 @@ basicSettings = createMuiTheme(basicSettings, {
},
inputMultiline: {
padding: basicSettings.spacing(0.75, 1.5),
resize: 'auto',
},
adornedEnd: {
paddingRight: basicSettings.spacing(1.5),

View File

@ -345,7 +345,7 @@ export const InputText = forwardRef(({
className={classes.formInput}
inputProps={{
id: cid,
maxLength: maxlength,
maxLength: controlProps?.multiline ? null : maxlength,
'aria-describedby': helpid,
...(type ? {pattern: !_.isUndefined(controlProps) && !_.isUndefined(controlProps.pattern) ? controlProps.pattern : patterns[type]} : {})
}}