AppliedMathematicsANU / plexus-form

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

(Not an issue) Is it possible to suppress the autogenerated section while rendering an array? #40

Open MaxKramnik opened 9 years ago

MaxKramnik commented 9 years ago

Guys, I have more of a question. I want to add a "+" sign to generate a new section for an array as opposed to auto-generate it when the previous item is filled. And in the same way I want to add "x" to remove a section. From what I see, I can add "+" and "-" in the section wrapper, but how would I suppress a new array element rendering? Thanks.

odf commented 9 years ago

Unfortunately, that's hard-coded, so there's no clean way to suppress it without changing plexus-form itself.