Fixed #3836 - Button: icon only support for default templating
parent
d3c5ef8228
commit
e0b2b1d34a
|
@ -85,7 +85,7 @@ export default {
|
|||
return [
|
||||
'p-button p-component',
|
||||
{
|
||||
'p-button-icon-only': this.icon && !this.label,
|
||||
'p-button-icon-only': (this.icon && !this.label) || this.$slots.default,
|
||||
'p-button-vertical': (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label,
|
||||
'p-disabled': this.$attrs.disabled || this.loading,
|
||||
'p-button-loading': this.loading,
|
||||
|
|
Loading…
Reference in New Issue