10488 accept decimal and allow decimal field type
This commit is contained in:
@@ -71,13 +71,16 @@ const RenderTextfield = ({
|
|||||||
)}
|
)}
|
||||||
<input
|
<input
|
||||||
{...input}
|
{...input}
|
||||||
|
type={custom.type}
|
||||||
className={className}
|
className={className}
|
||||||
name={name}
|
name={name}
|
||||||
id={id}
|
id={id}
|
||||||
maxLength={
|
maxLength={
|
||||||
custom.hasOwnProperty("maxFieldLength")
|
custom.hasOwnProperty("maxFieldLength")
|
||||||
? custom.maxFieldLength
|
? custom.maxFieldLength
|
||||||
: undefined
|
? custom.maxFieldLength
|
||||||
|
: 100
|
||||||
|
: 200
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -212,7 +215,9 @@ const RenderMultiline = ({
|
|||||||
maxLength={
|
maxLength={
|
||||||
custom.hasOwnProperty("maxFieldLength")
|
custom.hasOwnProperty("maxFieldLength")
|
||||||
? custom.maxFieldLength
|
? custom.maxFieldLength
|
||||||
: undefined
|
? custom.maxFieldLength
|
||||||
|
: 800
|
||||||
|
: 800
|
||||||
}
|
}
|
||||||
></textarea>
|
></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user