Commit 8f7f09f7 authored by PDuarte's avatar PDuarte

locations county to iso codes

parent 69d3d59c
...@@ -289,7 +289,7 @@ return ( ...@@ -289,7 +289,7 @@ return (
> >
<option value=''></option> <option value=''></option>
{countries.map(country => { {countries.map(country => {
return <option values={country.name} selected={dataElement && dataElement.country === country.name}>{country.name}</option> return <option value={country.code} selected={dataElement && dataElement.country === country.code}>{country.name}</option>
} }
)} )}
</Input> </Input>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment