-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not possible to use multidimensional arrays in widget parameters #19909
Comments
Hi @ilnytskyi. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @ilnytskyi do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @maheshWebkul721. Thank you for working on this issue.
|
Hi @eduard13. Thank you for working on this issue.
|
@eduard13 Thank you for verifying the issue. Based on the provided information internal tickets |
Hi @ilnytskyi, these days I have also encountered the same issue while adding a dynamic rows field to a custom widget. In your case, I suggest to use |
@eduard13 thanks for this suggestion. I tired conditions but in my case I want to group them and give them different titles or other attributes. |
Hi @maheshWebkul721. Thank you for working on this issue.
|
Hi @eduard13. Thank you for working on this issue.
|
Hi @ilnytskyi. Thank you for your report.
The fix will be available with the upcoming 2.3.2 release. |
Hi @ilnytskyi. Thank you for your report.
The fix will be available with the upcoming 2.2.9 release. |
As an option change Magento\Widget\Model\Widget\Instance.php: 607 to
|
Summary (*)
Magento
2.2.*, 2.2.5, 2.2.6, 2.2.7
Not possible to use multidimensional arrays in widget parameters
When add custom field set as a block parameter type to widget.xml
Examples (*)
Add custom parameter type (in my case it is an options panel)
Use parameters names and keys like this
See an error
in this file the code looks like this
magento/vendor/magento/module-widget/Model/Widget/Instance.php:609
It is not really possible to reproduce on vanilla instance but we can try to substitute a request parameters for existing widget fields
Proposed solution
The text was updated successfully, but these errors were encountered: