You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While this library is lightweight and works great, is not very customisable in terms of aspect, many customers don't like displaying flags within their inputs but this library leaves not alternative. CountrySelector just displays a flag, it would be great if also allows displaying either the country name or country prefix.
Proposed solution
Add option to CountrySelector called display where the allowed options are:
Flag (default)
Name
Prefix
For instance:
Although a perfect solution would be allowing all possible combination of those (flag. + name), (flag + prefix), (flag. + name + prefix), (name + prefix), etc..)
While this library is lightweight and works great, is not very customisable in terms of aspect, many customers don't like displaying flags within their inputs but this library leaves not alternative.
CountrySelector
just displays a flag, it would be great if also allows displaying either the country name or country prefix.Proposed solution
Add option to
CountrySelector
calleddisplay
where the allowed options are:Flag
(default)Name
Prefix
For instance:
Although a perfect solution would be allowing all possible combination of those (flag. + name), (flag + prefix), (flag. + name + prefix), (name + prefix), etc..)
Flag + Name + Prefix:
Would be as easy as adding the new
display
property within the Country selector API, and making FlagImage optional.The text was updated successfully, but these errors were encountered: