We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed09366 commit 8999dceCopy full SHA for 8999dce
1 file changed
src/button/Base.mjs
@@ -225,8 +225,8 @@ class Button extends Component {
225
afterSetBadgeText(value, oldValue) {
226
let {badgeNode} = this;
227
228
- badgeNode.html = value;
229
badgeNode.removeDom = !Boolean(value);
+ badgeNode.text = value;
230
231
this.update()
232
}
@@ -380,7 +380,7 @@ class Button extends Component {
380
textNode.removeDom = isEmpty;
381
382
if (!isEmpty) {
383
- textNode.html = value
+ textNode.text = value
384
385
386
me.update()
0 commit comments