cancel
Showing results for 
Search instead for 
Did you mean: 

add a button after select element in backend product edit form.

add a button after select element in backend product edit form.

Hello,

My question is about magento 2.

I want to add a button after select or multiselect element in product form (new or edit) for add new option on the fly.

How can i do that?

Thanks in advance

3 REPLIES

Re: add a button after select element in backend product edit form.

Can you please specify what you exactly want? At which place you need to add this option. It would be better to understand for me if you provide me screenshot.

Re: add a button after select element in backend product edit form.

First of all thanks for your answer.

What I want is to put new options in a multi select attribute from backend when edit a product.

I want to put a button or change the label with a link label to open a dialog with attribute specs to insert new options or delete exists options. When close the dialog i want to refresh the options from this multi select attribute.

In this screen is what i want.

Thanks in advace

magento2.png

 

 

Re: add a button after select element in backend product edit form.

 For your requirement, you need to customize Magento core file which is not a good option. But if you still need to do, check in "vendor->magento->module-catalog". Here you will find related file in which you can put your customized code.