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
I'm using { hash: true, empty: true } so that I can serialize down an empty types field. However the inputs that aren't checked are showing up in the serialized parameters like:
{
"types": ["", "activities", "", "videos" ]
}
I would like:
{
"types": ["activities", "videos" ]
}
and the following when no inputs are checked:
{
"types": []
}
What do you think about stripping out unchecked boxes if the name field includes no index?
The text was updated successfully, but these errors were encountered:
Seems pretty reasonable if right now it just returns empty strings for those fields. What is the equivalent form-encoding string for the above input (i.e. when hash: false is used)
I'm working on an app with the following inputs:
I'm using
{ hash: true, empty: true }
so that I can serialize down an emptytypes
field. However the inputs that aren't checked are showing up in the serialized parameters like:I would like:
and the following when no inputs are checked:
What do you think about stripping out unchecked boxes if the name field includes no index?
The text was updated successfully, but these errors were encountered: