Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix merging of widgets config in FormHelper constructor.
Relying on InstanceTrait::config() to merge the config caused problems as we want the config array of each widget to be overwritten instead of being merged. Also keeping the 'widgets' and 'registry' key in config served no purpose as changing them at runtime wouldn't do anything since widget registry instance is already created by through helper's constructor. Fixes #5067
- Loading branch information
Showing
2 changed files
with
72 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters