'Add Custom Class for Custom Option in Admin Edit Product Magento 2

Need a little help from you I want to add a custom class for the admin Product edit page while creating the custom option pro-grammatically. I have used 'class' =>'my-custom-option' but its adding class for frontend PDP page.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source