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
I think it would be great to add some props to the RegionDropdown where a list of countries could be specified that override the labelType and valueType props only for those countries.
For example, you could have something like valueTypeCountriesShort={['US']} as well as labelTypeCountriesShort={['US']} to make only the United States show regions using short codes even if the overall setting for valueType and labelType is "full". I don't really know if any other countries use short codes for addresses, but in America it is standard to use short codes for the states, so it would be helpful to have the option of using short codes for American states but full values for all other country regions.
The text was updated successfully, but these errors were encountered:
I think it would be great to add some props to the
RegionDropdown
where a list of countries could be specified that override thelabelType
andvalueType
props only for those countries.For example, you could have something like
valueTypeCountriesShort={['US']}
as well aslabelTypeCountriesShort={['US']}
to make only the United States show regions using short codes even if the overall setting forvalueType
andlabelType
is "full". I don't really know if any other countries use short codes for addresses, but in America it is standard to use short codes for the states, so it would be helpful to have the option of using short codes for American states but full values for all other country regions.The text was updated successfully, but these errors were encountered: