File tree Expand file tree Collapse file tree
client/web/compose/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ export default {
4848 type: Object ,
4949 default : () => ({}),
5050 },
51+
52+ includeStyles: {
53+ type: Boolean ,
54+ default: false ,
55+ },
5156 },
5257
5358 computed: {
@@ -73,8 +78,10 @@ export default {
7378
7479 if (this .field .isMulti ) {
7580 classes .push (' multiline' )
76- } else if (! textStyles .wrappedFields || ! textStyles .wrappedFields .includes (fieldID)) {
77- classes .push (' text-nowrap' )
81+ } else if (this .includeStyles ) {
82+ if (! textStyles .wrappedFields || ! textStyles .wrappedFields .includes (fieldID)) {
83+ classes .push (' text-nowrap' )
84+ }
7885 }
7986
8087 return classes
Original file line number Diff line number Diff line change 469469 :module =" module"
470470 :namespace =" namespace"
471471 :extra-options =" options"
472+ include-styles
472473 />
473474 <div class =" d-flex flex-nowrap align-items-start inline-actions" >
474475 <b-button
You can’t perform that action at this time.
0 commit comments