-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Prefix dropdown in checkout doesn't select empty value by default if required #28238
Prefix dropdown in checkout doesn't select empty value by default if required #28238
Conversation
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's first try to understand whether logic change is valid and only then apply necessary changes.
dev/tests/integration/testsuite/Magento/Customer/Model/OptionsTest.php
Outdated
Show resolved
Hide resolved
dev/tests/integration/testsuite/Magento/Customer/Model/OptionsTest.php
Outdated
Show resolved
Hide resolved
Hi @orlangur, thank you for review, in the required field we add empty value only for it will be shown by default but we can't place an order with this on checkout or create a customer with blank value. |
@magento run all tests |
@engcom-Charlie thanks, need to check this behavior in action. |
Hi @orlangur, do You've any updates? |
Hi @VladimirZaets, thank you for the review.
|
Hi @ihor-sviziev, can You please review this PR? |
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed Manual testing scenario:
Before: ✖️ Instead of having the empty value selected by default it will be always the first value selected. After: ✔️ The empty value in the drop-down prefix was selected by default. Case 2. Set Prefix to " After: ✔️ Empty value at the end of the list Case 3. Set Prefix to " After: ✔️ Empty value at the beginning and end of the list Note: As per comment, the expected behavior is:
|
…y default if required #28238
Hi @engcom-Charlie, thank you for your contribution! |
Description (*)
Related Pull Requests
Fixes #18823
Fixed Issues (if relevant)
Manual testing scenarios (*)
Please see #18823
Questions or comments
Contribution checklist (*)