Refactor #3965 - For Button

This commit is contained in:
Tuğçe Küçükoğlu 2023-06-22 17:16:55 +03:00
parent e677627b0c
commit 0991a15b5e
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ export default {
extends: BaseButton,
computed: {
disabled() {
return this.$attrs.disabled || this.loading;
return this.$attrs.disabled || this.$attrs.disabled === '' || this.loading;
},
defaultAriaLabel() {
return this.label ? this.label + (this.badge ? ' ' + this.badge : '') : this.$attrs['aria-label'];