0

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

1

We can get the values in post by using the following in select tag.

data-form-part="product_form"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.