Magento 2: Make category field required in product form in backend
-
23-02-2021 - |
Question
I want to make the category field required for product form in the backend.
I have tried to add the required class in the block class, but nothing happened.
Since the category field is not an input or dropdown field, I am not able to figure out how can I make it required.
Can anyone help me to achieve this?
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange