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

Select fields has error on Checkout form #18

Open
miguelrock22 opened this issue May 29, 2021 · 1 comment
Open

Select fields has error on Checkout form #18

miguelrock22 opened this issue May 29, 2021 · 1 comment

Comments

@miguelrock22
Copy link

When it's configured fields as select, Magento doesn't display it, and in the console we get the following error:

Uncaught ReferenceError: Unable to process binding “optgroup: function(){return options }”

The field is displayed but it doesn't have any option in there

image

Notes:
Check this link for and code snippet to solve the problem

https://magento.stackexchange.com/questions/280897/in-magento-2-uncaught-referenceerror-unable-to-process-binding-optgroup-funct

Thanks!

@miguelrock22
Copy link
Author

Also, yo have to pass the options array defined in the source model, or wherever you definde the options for the select list, you can check https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-select.html

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

No branches or pull requests

1 participant