buxfix - recordForm template maxlength incorrect
This commit is contained in:
parent
9c90a5f087
commit
bc51c7f603
|
@ -33,7 +33,7 @@ const textField = (record, f) => ({
|
||||||
disabled: false,
|
disabled: false,
|
||||||
fullwidth: false,
|
fullwidth: false,
|
||||||
colour: "primary",
|
colour: "primary",
|
||||||
maxLength: f.typeOptions && f.typeOptions.maxLength ? f.typeOptions : 0,
|
maxLength: f.typeOptions && f.typeOptions.maxLength ? f.typeOptions.maxLength : 0,
|
||||||
placeholder: f.label,
|
placeholder: f.label,
|
||||||
value: fieldValueBinding(record, f),
|
value: fieldValueBinding(record, f),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue