reagent-project / reagent-forms

Bootstrap form components for Reagent
339 stars 78 forks source link

explicitly evaluate the typeahead result-fn #64

Closed moskvax closed 8 years ago

moskvax commented 8 years ago

This is a minor fix for the new typeahead functionality. In 0.5.3, when :result-fn isn't defined otherwise, react will choke with Invariant Violation: cljs$core$identity.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.