10488 accept decimal and allow decimal field type

This commit is contained in:
2024-02-27 11:39:57 +00:00
parent 17a1f1f414
commit 82dbeb8d16
+7 -2
View File
@@ -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>