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

2

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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