How to save custom product tab drop box fields values to database in Magento 2
-
09-10-2020 - |
题
By using data-form-part="product_form" in input tag, text values are getting. But how gets the drop down values.
When i used data-form-part="product_form" same in option, it gives an array with key index [undefined] and always give its last value of dropdown
解决方案
We can get the values in post by using the following in select tag.
data-form-part="product_form"