In select filer 0 is giving all results
For following SelectFilter, If I select 0 then all results are coming in table , whereas 1 is working fine. Schema for
Please let me know if I am doing something wring here?
verified
is : $table->boolean('verified')->nullable();
Please let me know if I am doing something wring here?
2 Replies
does the if statement work properly for 0
try
if (filled($data['value']))
Thanks Dan,
filled
is working for both 0 and 1. basically empty
function return true for 0.