mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Merge pull request #6819 from qburst/fix/6809
fix: correct empty label rendering to display non-breaking space
This commit is contained in:
commit
83ff1c0b8b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue