-
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
No option to start with blank option for prefix and suffix in checkout. #7241
Comments
Thanks for reporting, internal ticket created MAGETWO-60288 |
@spyrule, thank you for your report. |
Working on this. |
I solved parts of this in #11462. An empty line is added automatically if the field is set to "optional". I am pretty sure that the relevant code is in |
@benmarks has sent me a hint to a possible solution: https://stackoverflow.com/questions/15481380/knockout-js-setting-an-empty-selection. I added the
|
…fix in checkout. - replace usage of empty string for optional value with space so that the knockout.js picks up the optional values
Hi @spyrule. Thank you for your report.
The fix will be available with the upcoming patch release. |
What version is this being added in? I want to make prefix required field, but don't want an option selected by default. e..g show blank or "Select title" |
Fairly straight forward,
If you configure both/either Prefix and Suffix as Optional, and then populate the configuration list, there is no option to allow a blank option (if they choose not to select an option, it defaults to the first option in the list). Even if you precursor the list with a space and ";" it defaults to the first option after the first semi-colon.
Preconditions
Steps to reproduce
Expected result
Actual result
The text was updated successfully, but these errors were encountered: