all_country_option_tags
Generate an <option> element for each country.
Each <option> is set with an attribute named data-provinces, containing a JSON array of the country's or region's sub-areas. If a country has no sub-areas, its data-provinces attribute will be set to an empty array.
You can enclose the all_country_option_tags object within a <select> tag to build a country selector.
<select>
{{{all_country_option_tags}}}
</select>
Was this article helpful to you?