AppliedMathematicsANU / plexus-form

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

Array re-order values #47

Closed ismaelga closed 9 years ago

ismaelga commented 9 years ago

Would this be a good feature to send as a PR?

I'm actually implementing this for my own usage, so I was thinking if it could be helpful for others. My current idea is to provide the functions canMoveUp, canMoveDown, moveUp and moveDown as props for sections inside an array. Does this sound good for you guys?

I might submit a PR later today (maybe in a hour or so).

ismaelga commented 9 years ago

Meanwhile I've added more features to my fork, namely:

Let me know if any of them are good for a PR.

odf commented 9 years ago

That all sounds nice, but I will no longer maintain this project.