Opens a channel for model to talk with form widget
.. and controller and beyond.
This commit is contained in:
parent
c5975b3917
commit
9eb0cc24ae
|
|
@ -1021,6 +1021,8 @@ class Form extends WidgetBase
|
|||
if (method_exists($this->model, 'filterFields')) {
|
||||
$this->model->filterFields((object) $this->allFields, $this->getContext());
|
||||
}
|
||||
|
||||
$this->model->fireEvent('model.form.filterFields', [$this]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue