-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arrays #9
Comments
This kind of overlaps with #10. We should probably discuss collections in one place (here? there?) only to avoid confusion. |
I see a distinction (both in visual and data representation) between arrays of strings and arrays of objects. Add / remove there are more options with string arrays. Auto add - from here With objects I don't think I have seen an alternative to explicit add (from here: Re-ordering ** Clever things ** @bvaughn I appear to have continued here. I had already started capturing screen shots when I saw your post, |
There's a side-effect of implementing either of the add-methods above in forms-js though: it requires users to fully describe their data with validations. (We can't initialize an object unless we know all of its possible attributes.) There's also a further-down-the-chain side effect, which is to say that.. it complicates our templating system. Unless we insist on auto-generating all of the form markup- something I am pretty strongly apposed to (but something we should discuss on another ticket, perhaps)- then implementing our own collections-management (like you've screenshot) would take away a users ability to customize the presentation of fields within a child object. |
Arrays are the most challenging aspect of this component.
Here are the questions regarding arrays:
The text was updated successfully, but these errors were encountered: