mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +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);
|
||||
},
|
||||
label() {
|
||||
return this.hasLabel ? (this.d_value ? this.onLabel : this.offLabel) : ' ';
|
||||
return this.hasLabel ? (this.d_value ? this.onLabel : this.offLabel) : '\u00A0';
|
||||
}
|
||||
},
|
||||
directives: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue