AppliedMathematicsANU / plexus-form

A dynamic form component for react using JSON-Schema.
MIT License
134 stars 31 forks source link

Allow developers to customize input field class name #46

Open macrigiuseppe opened 9 years ago

macrigiuseppe commented 9 years ago

Hi, Would it be possible to allow developers to customize the input field class names by passing some props to the form?

Thank you

odf commented 9 years ago

There's been some work done by @bebraw to modularize the internal workings so that eventually we would be able to support that kind of thing, although I'm not sure if there's actually a prop yet that can be passed into the <Form> element. But actually I think we might need to go even further and redesign plexus-form from the ground up based on a concept of composable form fragments that developers can write their own top-level APIs for if they need customizations that are not supported by the default one.

I'll have to see if I can find some spare time to work on this in my next life a.k.a. after the big project deadline.