post by GabrielD on Aug 14, 2021

can’t make it work for 2 fields depending on the same field:

$crud->setDependentRelation(‘customer_id’,‘supplier_id’,‘supplier_id’);|
$crud->setDependentRelation(‘contract_id’,‘customer_id’,‘customer_id’);|
$crud->setDependentRelation(‘zone_id’,‘customer_id’,‘customer_id’);|

contract id and zone id have the same values. Any ideea?

post by GabrielD on Aug 14, 2021

Add functionality does not work.
On Edit, fields are filled ok but if I change the parent children have the same values.

My assumption is because of the last parameter, I tried various options without success…

Do we have an workaround?

1 / 2
Aug 2021