Opens a channel for model to talk with form widget

.. and controller and beyond.
This commit is contained in:
Samuel Georges 2017-06-17 21:20:34 +10:00
parent c5975b3917
commit 9eb0cc24ae

View File

@ -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]);
}
/**