mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Refactor #3965 - For Button
This commit is contained in:
parent
e677627b0c
commit
0991a15b5e
2 changed files with 2 additions and 2 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue