Closed navinbhudiya closed 3 years ago
Hi @https://github.com/navinbhudiya
I don't think you have used Hyva Admin Grids in the way you're supposed to do so.
It's pretty straight forward to use:
Check the example module, it's the best way to go: https://github.com/hyva-themes/hyva-admin-test-module
Please also refer to the documentation at https://github.com/hyva-themes/magento2-hyva-admin/tree/main/doc/1.%20Overview/3.%20Walkthrough
Seems like this issue has resolved itself.
I am getting the same error in magento 2.3.6 with your test extension: https://github.com/hyva-themes/hyva-admin-test-module
I'll reopen the issue and add a polyfill in the next release. Unfortunately I've got myself in a bit of a uncomfortable situation where I can't simply create a new release right now because:
Because of 1) I want to backport the main branch to 7.3 manually and then use that for releases. But backporting the main branch now would cause major conflicts when the hyva-forms branch is ready to be merged.
I see two possible ways forward:
or
I followed through with the first option. Please upgrade to release 1.1.4 which includes the SecureHtmlRenderere
polyfill.
I have installed the magento2-hyva-admin.
Update my product grid xml like vendor/magento/module-catalog/view/adminhtml/layout/catalog_product_index.xml
Getting error like this
exception(s): Exception #0 (Exception): Notice: Undefined variable: secureRenderer in pub/developer/app/code/Hyva/Admin/view/adminhtml/templates/page/js/require_js.phtml on line 16
Exception #0 (Exception): Notice: Undefined variable: secureRenderer in pub/developer/app/code/Hyva/Admin/view/adminhtml/templates/page/js/require_js.phtml on line 16