1
0
Fork 0
mirror of synced 2024-07-03 21:40:55 +12:00

buxfix - recordForm template maxlength incorrect

This commit is contained in:
Michael Shanks 2020-02-24 11:05:31 +00:00
parent 9c90a5f087
commit bc51c7f603

View file

@ -33,7 +33,7 @@ const textField = (record, f) => ({
disabled: false,
fullwidth: false,
colour: "primary",
maxLength: f.typeOptions && f.typeOptions.maxLength ? f.typeOptions : 0,
maxLength: f.typeOptions && f.typeOptions.maxLength ? f.typeOptions.maxLength : 0,
placeholder: f.label,
value: fieldValueBinding(record, f),
})