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

Loading Form.Button can't be set disabled #1142

Closed
grigy opened this issue Jan 10, 2017 · 2 comments
Closed

Loading Form.Button can't be set disabled #1142

grigy opened this issue Jan 10, 2017 · 2 comments

Comments

@grigy
Copy link

grigy commented Jan 10, 2017

Steps

Create disabled and loading form button.

Expected Result

It should be a disabled button with loading indicator.

Actual Result

It's not a disabled button.

Version

0.63.5

Testcase

http://codepen.io/grigy/pen/mRVmEz

@levithomason
Copy link
Member

This is actually a dupe of #1115. Form field shorthand should pass along the disabled prop whereas they are consuming it.

Workaround, don't use the Form.Button shorthand:
http://codepen.io/levithomason/pen/wgGKpz

      <Form>
        <Form.Field>
          <Button loading disabled>Button</Button>
        </Form.Field>
      </Form>

@levithomason
Copy link
Member

I should note, this will be fixed :)

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

2 participants