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

Control default selected category #387

Open
BioPhoton opened this issue Aug 10, 2021 · 2 comments
Open

Control default selected category #387

BioPhoton opened this issue Aug 10, 2021 · 2 comments

Comments

@BioPhoton
Copy link
Contributor

Is there an option to initialize the picker with a selected category other than recent but keep recent?

From what I can see I could use activeCategories but it seems a bit odd to me.
I also tried to fix it by using the selected property, but this can only be used after the picker is bootstrapped.

Please let me know your thoughts.

@scttcper
Copy link
Owner

i think activeCategories is your best bet but i haven't tried this exact scenario

@BioPhoton
Copy link
Contributor Author

activeCategories requires me to add all data (emojis) again via static array.
Also I think it is again only working after component bootstrap which is the same problem as with selected

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

2 participants