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

Is there any option to define default checked locations? #39

Closed
rommelmamedov opened this issue Apr 3, 2020 · 4 comments · Fixed by #40
Closed

Is there any option to define default checked locations? #39

rommelmamedov opened this issue Apr 3, 2020 · 4 comments · Fixed by #40
Labels
enhancement New feature or request

Comments

@rommelmamedov
Copy link

No description provided.

@VictorCazanave
Copy link
Owner

Currently there isn't any property to set the checked locations, but it may be a good idea to add it.

If you know how to do it, feel free to open a PR! Otherwise I'll try to do it next week.

@VictorCazanave VictorCazanave added the enhancement New feature or request label Apr 3, 2020
@rommelmamedov
Copy link
Author

Thanks for the quick response! I'll try to check up the source code for in order to implement it.

@VictorCazanave
Copy link
Owner

@rommelmamedov before merging the PR, what do you think of the new props selectedLocationId (for RadioSVGMap) and selectedLocationIds (for CheckboxSVGMap)? Are they convenient enough for your use case?

@rommelmamedov
Copy link
Author

@rommelmamedov before merging the PR, what do you think of the new props selectedLocationId (for RadioSVGMap) and selectedLocationIds (for CheckboxSVGMap)? Are they convenient enough for your use case?

Yes, I think they are totally okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants