This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
chris10207
I tried to extend the controller and check for the pivotmodel instance but it never comes up ex:
CompaniesController::extendFormFields( function($form, $model, $context){
if(!$model instanceof CompanyOrganisationPivot)
return;
}
i never see the pivot model coming up when i add a pivot data trough the relation widget and popup window.
is it possible to extend this pivot model form ?
chris10207
not with this method but i managed to simulate it from the pivot model itself implementing the method filterFields()
public function filterFields($fields, $context = null) {}
1-5 of 5