I am using Magento 2.2.0. Can I apply custom js click events for any field in configuration page

Stores -> Configuration

This is my configuration. Here I need to load Attribute Type Dropdown based on what is chosen in Document Type dropdown.

enter image description here


Add your jquery code in below edit.phtml file

Don't forget to Override below file in app/code/adminhtml/


Hope this solution will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.