Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,11 @@ const getFieldOptions = formCategory => {
propertiesOrder.forEach(propName => {
if (opt[propName] === null) return // to skip the property

// A scalar override (e.g. editDate's isReadOnly: 'true') forces the
// saved value directly; it isn't a component descriptor, so don't turn
// it into an editable control in the field settings.
if (opt[propName] && typeof opt[propName] !== 'object') return

const prop =
opt[propName] || baseProps[propName] || prototypeProps[propName]

Expand All @@ -1012,7 +1017,6 @@ const getFieldOptions = formCategory => {
value: opt.fieldType, // To work with Select component
isReadOnly: opt.isReadOnly,
isS3Component: opt.isS3Component,
readonly: opt.readonly,
componentOptions,
})
})
Expand Down