gcanti / tcomb-form

Forms library for react
https://gcanti.github.io/tcomb-form
MIT License
1.16k stars 136 forks source link

Add item parameter to List.addItem function #378

Closed karlguillotte closed 7 years ago

karlguillotte commented 7 years ago

I am extending the List component to create my own factory of dynamic field types (based on #301). When I am adding an item to the list, I want to add a defined item with a type property so my dispatch function work as expected.

karlguillotte commented 7 years ago

Sorry, I thought it was not making any sense, actually it does.

gcanti commented 7 years ago

Thanks, released in https://github.com/gcanti/tcomb-form/releases/tag/v0.9.12