2 Replies
When i try to add it open modal window but error like this
Select field [data.product_pricing.record-1.product_types.3353ebcb-797f-4cf1-8643-f4e3c4b0f38b.product_type_id] must have a [createOptionUsing()] closure set.
as you see i remove relationship from select but when i add relationship to select. I got an error like this
Call to a member function getModel() on null
Can not open modal window at all.
The first error tells you what to do.
The second one is because you try to use relationship but didn’t provide a model to your form.
$form->model(…)
. Should be documented.