psaia / react-serial-forms

A lightweight and extendable SSR-friendly form library (for React).
167 stars 18 forks source link

Can not update the static value from a higher component #23

Closed emmarq closed 8 years ago

emmarq commented 8 years ago

Ok, thank you for your quick response. I personally prefer this project over redux-form. In my first use of react-serial-forms, i had a 'state' on a higher component who inject via props the initial data in a component with the form, and ocassionaly, reinitialize the initial state with ease. Now with the handy attrs method, that is not possible.

psaia commented 8 years ago

Good catch, again. The fix has been pushed. I've also updated the demo to handle this scenario. See the Favorite Food (fake ajax request) field. Let me know if you come across anything else and thanks for the support.