#How to create a country number select field

5 messages · Page 1 of 1 (latest)

willow helm
#

Thinking of using https://mantine.dev/core/select/#searchable
But what about the countries and their flags?
Do I fetch them from an external api? If so, which one?
Or do I just copy the json with the emoji flags, country name and code from somewhere and put it in my application?

Custom searchable select

shrewd warren
#

There are some packages that give you all you need like flags, code and country name

shrewd warren
#

you can try that one, it provides everything you might need, UI might be on you