Jump to content

Filtering Issues while using Dependant Select box

Dependant Select box filter issue

  • Please log in to reply
No replies to this topic

#1 Akhilkalapurakkal



  • Members
  • Pip
  • 9 posts

Posted 20 September 2018 - 12:27 PM

Hi Everyone,


I am getting an error while using Dependant Select box feature. It is working fine all except when I am using concat two fields in setRelation function.


for example,




Getting Error below code


$crud->setRelation('exemption_student_id', 'dice_students', '{student_first_name} {student_last_name}', ['student_active' => 0]); 


This same will work when I am removing the concat fields and use single field like below.


$crud->setRelation('exemption_student_id', 'dice_students', 'student_first_name}', ['student_active' => 0]); 



Can anyone please help me?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users