Merged PR 2315: Auth stabilistatiion and hardening
Related work items: #23020
This commit is contained in:
+9
-3
@@ -141,7 +141,10 @@ const RenderMultiline = ({
|
||||
className={className}
|
||||
{...input}
|
||||
maxLength={
|
||||
custom.hasOwnProperty("maxFieldLength")
|
||||
Object.prototype.hasOwnProperty.call(
|
||||
custom,
|
||||
"maxFieldLength"
|
||||
)
|
||||
? custom.maxFieldLength
|
||||
? custom.maxFieldLength
|
||||
: 800
|
||||
@@ -190,14 +193,17 @@ const RenderTextfield = ({
|
||||
name={id || name}
|
||||
id={id || name}
|
||||
maxLength={
|
||||
custom.hasOwnProperty("maxFieldLength")
|
||||
Object.prototype.hasOwnProperty.call(
|
||||
custom,
|
||||
"maxFieldLength"
|
||||
)
|
||||
? custom.maxFieldLength
|
||||
? custom.maxFieldLength
|
||||
: 100
|
||||
: 200
|
||||
}
|
||||
pattern={
|
||||
custom.hasOwnProperty("pattern")
|
||||
Object.prototype.hasOwnProperty.call(custom, "pattern")
|
||||
? custom.pattern
|
||||
: undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user