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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Firstly, sorry if the answer is not that clear, my back-end vocabulary is not rich.
This may be a question related to JS, not your library, but I want to be clear, because it is a bit confusing to me.
So, I have a filter form, let's say it's like this:
The type of
campaign
andsource
is a checkbox.If I use that form and submit it, the filter doesn't work and this how this data is shown on back-end. I'm showing the
$request->all()
object:and the filtering is not correct. It's alway empty data.
But, if I change in the
useForm
fromnull
to[]
, this is the result:The check-boxes are not shown at all (as they should) and the filter works normally.
So, if anyone could explain what is the reason for this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions