Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow option disabling for optgroup binding #10031

Merged
merged 4 commits into from
Jun 27, 2017

Conversation

Bart-art
Copy link
Contributor

@Bart-art Bart-art commented Jun 23, 2017

The optgroup Knockout binding formats its options before usage in the optionsAfterRender of the form/element/select.html knockout template. In this process all extra data of the options will be stripped and the optionsAfterRenderer cannot access the "disabled" value of any option. Because of this the delimiter option in the country_id select in checkout is choosable by the customer which is not the intended behaviour.

The optgroup Knockout binding formats its options before usage in the optionsAfterRender of the form/element/select.html knockout template. In this process all extra data of the options will be stripped and the optionsAfterRenderer cannot access the disabled value of any option. Because of this the delimiter option in the country_id select in checkout is choosable by the customer.
@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Jun 23, 2017

CLA assistant check
All committers have signed the CLA.

@ishakhsuvarov
Copy link
Contributor

Hi @Bart-art
Thank you for your contribution. Could you please check JS static test failures on Travis CI?
Thanks!

@Bart-art
Copy link
Contributor Author

Hi @ishakhsuvarov,
the JS static test failures are fixed.

@ishakhsuvarov
Copy link
Contributor

@Bart-art Thank you.
We will proceed with review and merge. Could you describe any actual case for manual testing?

@ishakhsuvarov ishakhsuvarov added this to the June 2017 milestone Jun 23, 2017
@magento-team magento-team merged commit 3620da4 into magento:develop Jun 27, 2017
@Bart-art Bart-art deleted the patch-1 branch June 28, 2017 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants