1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

buxfix - recordForm template maxlength incorrect

This commit is contained in:
Michael Shanks 2020-02-24 11:05:31 +00:00
parent e09a79fc87
commit 547858ea9b

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),
})