correct empty label rendering in togglebutton
parent
3c426a1386
commit
6b598e081a
|
@ -63,7 +63,7 @@ export default {
|
|||
return isNotEmpty(this.onLabel) && isNotEmpty(this.offLabel);
|
||||
},
|
||||
label() {
|
||||
return this.hasLabel ? (this.d_value ? this.onLabel : this.offLabel) : ' ';
|
||||
return this.hasLabel ? (this.d_value ? this.onLabel : this.offLabel) : '\u00A0';
|
||||
}
|
||||
},
|
||||
directives: {
|
||||
|
|
Loading…
Reference in New Issue