rect-editor - support fields library
WangLarry opened this issue · comments
Is your feature request related to a problem? Please describe.
Forms often have similar fields, which have some same infos. Currently we need define fields from zero, which is not handy.
Describe the solution you'd like
If having a field library, we can import infos of field from it, then generate form quickly.
@WangLarry What did you have in mind for example?
To me it sounds like it should be implemented in the "app level" or "organization level" - to have a private set of fields packed together in a package of common fields that can be consumed from different places in the organization / app (also can be saved in DB - since they are serializable).
because usually each app has different configurations - like label and server validations and more..
(we used similar approach in our apps)
I mean editor support this feature and interface.
If I want to copy field of other forms, how to do it using current editor?
@WangLarry Cool for editor its a good idea!
for now we have the option of "duplicate" form or duplicate field inside a specific form..
but a shared fields library is interesting. Will think about how to do it :)
pr - #81
deployed - https://yahoo.github.io/jafar/demo-react-editor.html