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

materila-ui's Checkbox does not work with redux-form #109

Open
sanemat opened this issue Oct 16, 2015 · 1 comment
Open

materila-ui's Checkbox does not work with redux-form #109

sanemat opened this issue Oct 16, 2015 · 1 comment

Comments

@sanemat
Copy link
Member

sanemat commented Oct 16, 2015

Checkbox
http://material-ui.com/#/components/switches

import { initialize } from 'redux-form';

dispatch(initialize('settings'), { 
  email: '[email protected]',
  enableSomething: true,
}));

// works fine
<input
  type={'text'}
  {...email}
  />

// does not work
<input
  type={'checkbox'}
  {...enableSomething}
  />
@sanemat
Copy link
Member Author

sanemat commented Nov 3, 2015

redux-form v3 solves this?

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

No branches or pull requests

1 participant