Fix field wrap in non record list base fields
This commit is contained in:
parent
af3fd30f31
commit
ccf156a45f
@ -48,6 +48,11 @@ export default {
|
||||
type: Object,
|
||||
default: () => ({}),
|
||||
},
|
||||
|
||||
includeStyles: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
|
||||
computed: {
|
||||
@ -73,8 +78,10 @@ export default {
|
||||
|
||||
if (this.field.isMulti) {
|
||||
classes.push('multiline')
|
||||
} else if (!textStyles.wrappedFields || !textStyles.wrappedFields.includes(fieldID)) {
|
||||
classes.push('text-nowrap')
|
||||
} else if (this.includeStyles) {
|
||||
if (!textStyles.wrappedFields || !textStyles.wrappedFields.includes(fieldID)) {
|
||||
classes.push('text-nowrap')
|
||||
}
|
||||
}
|
||||
|
||||
return classes
|
||||
|
||||
@ -469,6 +469,7 @@
|
||||
:module="module"
|
||||
:namespace="namespace"
|
||||
:extra-options="options"
|
||||
include-styles
|
||||
/>
|
||||
<div class="d-flex flex-nowrap align-items-start inline-actions">
|
||||
<b-button
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user