Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't disable button #21

Closed
johneakin opened this issue Jan 31, 2019 · 2 comments
Closed

Can't disable button #21

johneakin opened this issue Jan 31, 2019 · 2 comments

Comments

@johneakin
Copy link

johneakin commented Jan 31, 2019

I am disabling the button in the action

handleSearchClick = (button) => {
console.log('button clicked')
button.disabled=true;
}

However the button is still visible.
In the DOM I can see:
button class="aws-btn aws-btn--facebook aws-btn--visible aws-btn--middle" role="button"

@harshmanwani
Copy link

I'm having the same problem.
Is this the AwesomeButtonProgress?
I guess the disabling prop doesn't work on the Progress button.

@rcaferati
Copy link
Owner

rcaferati commented Feb 14, 2019

@johneakin, @harshmanwani thanks for the feed back. It wasn't persisting the disabled prop coming from the wrapper buttons. Fixed it on 5.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants