mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where passwords entered in the 'Connect To Server' dialog were truncated. Fixes #7440
This commit is contained in:
committed by
Akshay Joshi
parent
93bc1f3c57
commit
d90b2621da
@@ -326,7 +326,9 @@ FormInputDateTimePicker.propTypes = {
|
||||
|
||||
/* Use forwardRef to pass ref prop to OutlinedInput */
|
||||
export const InputText = forwardRef(({
|
||||
cid, helpid, readonly, disabled, maxlength = 255, value, onChange, controlProps, type, ...props }, ref) => {
|
||||
cid, helpid, readonly, disabled, value, onChange, controlProps, type, ...props }, ref) => {
|
||||
|
||||
const maxlength = typeof(controlProps?.maxLength) != 'undefined' ? controlProps.maxLength : 255;
|
||||
|
||||
const classes = useStyles();
|
||||
const patterns = {
|
||||
@@ -388,7 +390,6 @@ InputText.propTypes = {
|
||||
label: PropTypes.string,
|
||||
readonly: PropTypes.bool,
|
||||
disabled: PropTypes.bool,
|
||||
maxlength: PropTypes.number,
|
||||
value: PropTypes.any,
|
||||
onChange: PropTypes.func,
|
||||
controlProps: PropTypes.object,
|
||||
|
||||
Reference in New Issue
Block a user