Browse Source

buxfix - recordForm template maxlength incorrect

gh-pages
Michael Shanks 7 years ago
parent
commit
547858ea9b
  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,
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),
})

Loading…
Cancel
Save