lyrictenor / electron-triage-for-github

Desktop app for dividing GitHub issues and pull-requests into go or no-go quickly.
MIT License
17 stars 1 forks source link

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

Open sanemat opened 9 years ago

sanemat commented 9 years ago

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

import { initialize } from 'redux-form';

dispatch(initialize('settings'), { 
  email: 'foo@example.com',
  enableSomething: true,
}));

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

// does not work
<input
  type={'checkbox'}
  {...enableSomething}
  />
sanemat commented 9 years ago

redux-form v3 solves this?