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
asked May 23, 2017 at 10:54
Rita Jose
1,8508 gold badges29 silver badges46 bronze badges
-
3Possible duplicate of How to save custom product tab fields drop box and input text value to database in Magento 2Teja Bhagavan Kollepara– Teja Bhagavan Kollepara2017年07月06日 04:54:52 +00:00Commented Jul 6, 2017 at 4:54
-
You might consider changing the title of your post and linking to the original question + answer.benmarks– benmarks2017年07月06日 21:39:31 +00:00Commented Jul 6, 2017 at 21:39
1 Answer 1
We can get the values in post by using the following in select tag.
data-form-part="product_form"
Teja Bhagavan Kollepara
3,8275 gold badges33 silver badges69 bronze badges
answered May 30, 2017 at 4:49
Rita Jose
1,8508 gold badges29 silver badges46 bronze badges
Explore related questions
See similar questions with these tags.
default