Merge pull request #6819 from qburst/fix/6809
fix: correct empty label rendering to display non-breaking spacepull/6798/merge
commit
83ff1c0b8b
|
@ -63,7 +63,7 @@ export default {
|
||||||
return isNotEmpty(this.onLabel) && isNotEmpty(this.offLabel);
|
return isNotEmpty(this.onLabel) && isNotEmpty(this.offLabel);
|
||||||
},
|
},
|
||||||
label() {
|
label() {
|
||||||
return this.hasLabel ? (this.d_value ? this.onLabel : this.offLabel) : ' ';
|
return this.hasLabel ? (this.d_value ? this.onLabel : this.offLabel) : '\u00A0';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
directives: {
|
directives: {
|
||||||
|
|
Loading…
Reference in New Issue