buxfix - recordForm template maxlength incorrect

This commit is contained in:
Michael Shanks 2020-02-24 11:05:31 +00:00
parent 9c90a5f087
commit bc51c7f603
1 changed files with 1 additions and 1 deletions

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