public CountrySelector(String name, boolean optional, CountryCode state) {
this(name, optional);
selected = state == null ? null : state.convertToCountryCodeType(CountryCodeType.CODE_2_CHARS);
public CountrySelector(String name, boolean optional, CountryCode state) {
this(name, optional);
selected = state == null ? null : state.convertToCountryCodeType(CountryCodeType.CODE_2_CHARS);