Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am using Magento 2.2.2.
I want to restrict the number of SKU characters to be entered in the Admin Product Detail Page. How to achieve this.
Try to update you eav_attribute table
UPDATE eav_attribute SET frontend_class = "validate-length maximum-length-11" where attribute_code = 'sku'
Required, but never shown