New Features
- Checkboxes will now manage lists of values if you provide a
value
prop. If you do not provide a value
prop, checkboxes will manage boolean values as they always have. #90 #104 For example, the following inputs will manage an array of strings:
<Field name="toppings" component="input" type="checkbox" value="onions"/>
<Field name="toppings" component="input" type="checkbox" value="sausage"/>
<Field name="toppings" component="input" type="checkbox" value="pepperoni"/>
FormSpy
now receives all the good Form API props that Form
gets. change
, blur
, initialize
, etc. #101 #105
Bug Fixes
- Made
event
parameter optional to handleSubmit
for React Native support. #84 #95
Typescript