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
Describe the bug
Filter parameter is not being passed to Screen's method when its value is 0
To Reproduce
Steps to reproduce the behavior:
In a Screen some filters inside a Selection.
One of these filter is Gender filter which has options([ 0 => 'male', 1 => 'female', ])
Add a Button test_button to the Screen. The Button calls some_method and passes request()->all() as a parameter (see screenshot)
Filter the data in the screen by selecting 'male' in the gender filter
Click on the test_button
In the some_method print the received Request
Expected behavior
When the Button clicked, gender=0 should show up in the url and "gender" => 0 in the query section of the request object received in the method.
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser: chrome
Version: 122.0.6261.113
Server (please complete the following information):
Platfrom Version: 14.18.0
Laravel Version: 10.41.0
PHP Version: 8.1.0
Database: MySql
Database Version: 8.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Filter parameter is not being passed to Screen's method when its value is 0
To Reproduce
Steps to reproduce the behavior:
options([ 0 => 'male', 1 => 'female', ])
test_button
to the Screen. The Button callssome_method
and passes request()->all() as a parameter (see screenshot)test_button
some_method
print the received RequestExpected behavior
When the Button clicked,
gender=0
should show up in the url and"gender" => 0
in the query section of the request object received in the method.Screenshots
Desktop (please complete the following information):
Server (please complete the following information):
The text was updated successfully, but these errors were encountered: