PolymerElements / paper-button

A button à la Material Design
https://www.webcomponents.org/element/PolymerElements/paper-button
138 stars 64 forks source link

Button is not disabled with disabled attribute #2.0-preview #149

Closed fairsayan closed 7 years ago

fairsayan commented 7 years ago

Description

Unable to disable paper button with #2.0-preview branch

The Code

<paper-button id="login" on-tap="_onTapLoginButton" autofocus disabled>{{localize('Login')}}</paper-button>

...

_onTapLoginButton () {
  console.info('aa');
}

The 'aa' string is always printed

Browsers Affected

notwaldorf commented 7 years ago

Looks disabled (and adding a listener does not get fired) in the demo so I think this is an old issue