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

[BUG] Not able to open modal with currency preselected #359

Open
gentoosys opened this issue Jul 9, 2023 · 2 comments
Open

[BUG] Not able to open modal with currency preselected #359

gentoosys opened this issue Jul 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@gentoosys
Copy link

Hello. Thank you for great product, it is awesome!
I need to open a modal with currency preselected. I did not found any code for that in bitcart.js, and also not able to use hacky way like modifiying dom.
Please tell me a quick-and-dirty way to predefine currency on modal dropdown. As I understood it is Vue, but I don't know how to address your app and which element to make desired selection on dropdown.
And also please implement it in modal options.
Thanks

@gentoosys gentoosys added the bug Something isn't working label Jul 9, 2023
@gentoosys
Copy link
Author

Dirty fix is creating a store for each currency

@MrNaif2018
Copy link
Member

Well, the order of how payment methods are presented is defined in order you connect them to store. Would that help your usecase?
Sorry for slow reply, I usually reply instantly in community chats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants