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
Adding a simple select in product attribute for dropdown type won't open options #38708
Comments
Hi @marmureanuweb. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@magento give me 2.4-develop instance |
Hi @marmureanuweb. Thank you for your request. I'm working on Magento instance for you. |
Hi @marmureanuweb, here is your Magento Instance: https://1cda3a7f8f8f9688624ed79a48e49f16.instances-prod.magento-community.engineering |
The element that I'm trying to add
|
Hi @engcom-Hotel. Thank you for working on this issue.
|
Hello @marmureanuweb, Thanks for the report and collaboration! Rather than modifying anything within the vendor folder, I recommend creating a custom dropdown field for an existing form in the Magento 2 Admin Panel by following these steps:
And also it doesn't seem a Magento core bug hence I suggest you refer to the Magento Stackexchange. Thanks |
Dear @marmureanuweb, We've observed that there haven't been any updates on this issue for quite some time. Therefore, we're assuming it's been resolved and will be closing it. Feel free to open a new ticket or reopen this one if you require further assistance. Regards |
Summary
I'm trying to extend the product attribute option with a simple select element.
When trying to open it, it won't open due to an unknown reason.
I've tried removing the classes and adding "select","admin__control-select" but no luck. I've tried moving the select from the top of the row, but you will see the same exact issue.
Examples
The file where I'm trying to add the select "vendor/magento/module-catalog/view/adminhtml/templates/catalog/product/attribute/options.phtml" > in the "<script id="row-template" type="text/x-magento-template">" in any of the
<td>
cells.The element I'm trying to add
<select name="test" class="select admin__control-select" > <option value="enable" selected="selected">enable</option> <option value="disable">disable</option> </select>
Proposed solution
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: