You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the many is empty, the form should post data like this: collections="" to indicate the emptiness of the structure. IIRC, this behaviour would be consistent with what we do for other array-like elements in Formalist?
Right now, this doesn't seem to be happening. Instead, the attribute is not submitted at all.
See #105 for a related issue. In the discussion there, you seem to indicate, @makenosound, that we're already posting an empty string. Perhaps the behaviour changed since then?
The text was updated successfully, but these errors were encountered:
timriley
changed the title
Empty many elements are not returning a blank string
Empty many elements are not posting a blank string
Aug 30, 2017
Given a form with a
many
element like this:When the
many
is empty, the form should post data like this:collections=""
to indicate the emptiness of the structure. IIRC, this behaviour would be consistent with what we do for other array-like elements in Formalist?Right now, this doesn't seem to be happening. Instead, the attribute is not submitted at all.
See #105 for a related issue. In the discussion there, you seem to indicate, @makenosound, that we're already posting an empty string. Perhaps the behaviour changed since then?
The text was updated successfully, but these errors were encountered: