-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Capitalize countries #386
Comments
@teolemon I just need some help. Do I need to update the countries.json or other file? |
For lazy people, capitalizing can also be done by using CSS 😇 |
Even the most workaholic man on this planet will not be able to capitalise all the countries name manually @alexfauquette Thanks for helping 😊 |
I had one doubt though. Should I capitalise the id as well in json file, because the label is already capitalised. |
You should not touch to ids in any case, since they are the keys used to fetch the API. Modifying ids implies breaking API call If we are talking about the country input in the question game filter, the options are defined as follow in options={countryNames}
getOptionLabel={(countryTag) => countryTag.slice(3)} For example when Two solutions:
|
Hey @teolemon, Is this issue still open? Or is it solved? I'm just getting started with contributing to Open Food Facts projects. Please let me know if this issue is it still open to work on!? |
I solved the issue, if u need any help let me know @vedant-z |
@Sudhanva-Nadiger If you already fixed it feal free to open a PR |
Okay !! Will do that !! |
I think this issue has PR merged and it can be closed now!! |
What
Part of
The text was updated successfully, but these errors were encountered: