Browse Source

buxfix - recordForm template maxlength incorrect

master
Michael Shanks 7 years ago
parent
commit
bc51c7f603
  1. 2
      packages/materialdesign-components/src/Templates/recordForm.js

2
packages/materialdesign-components/src/Templates/recordForm.js

@ -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…
Cancel
Save