psaia / react-serial-forms

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

How to make the inputs work with `react-bootstrap` #14

Closed Industrial closed 8 years ago

Industrial commented 8 years ago

Hi.

I've read the documentation and tried the BootstrapForm example. It uses a react-bootstrap ButtonInput but I don't understand how to make all the other elements behave with this library. I have several other form elements that I would like to use like date/datetime inputs, selectbox with search/autocomplete. Can I get all these to work with this library?

gr,

Tom

psaia commented 8 years ago

Yes, you can make just about anything work. I will be providing more examples of this. Components just need to extend InputBase. See how it's done here, here, and here.