⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Filtering Issues while using Dependant Select box



Akhilkalapurakkal
  • profile picture
  • Member

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?

 

Thanks