Merge pull request #47 from navedqb/fix/6809
fix: correct empty label rendering to display non-breaking spacepull/6819/head
commit
cd577275c4
|
@ -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