recordForm template uses MD select

This commit is contained in:
Michael Shanks 2020-03-04 16:49:10 +00:00
parent 924f7823e4
commit 95f821a83f
1 changed files with 2 additions and 2 deletions

View File

@ -59,10 +59,10 @@ const checkbox = (record, f) => ({
}) })
const select = (record, f) => ({ const select = (record, f) => ({
_component: "@budibase/standard-components/select", _component: "@budibase/materialdesign-components/Select",
value: fieldValueBinding(record, f), value: fieldValueBinding(record, f),
_children: f.typeOptions.values.map(val => ({ _children: f.typeOptions.values.map(val => ({
_component: "@budibase/standard-components/option", _component: "@budibase/materialdesign-components/ListItem",
value: val, value: val,
text: val text: val
})) }))