flagstrap icon indicating copy to clipboard operation
flagstrap copied to clipboard

Programmatically set the selected country at runtime

Open ghost opened this issue 8 years ago • 1 comments

I can prgrammatically set a country in this way:

$('#select_country').attr('data-selected-country','CN');

before issue $('#select_country').flagStrap(); After that I'm not able to change the current country via jQuery anymore.

Would you please help me to understand how to?

ghost avatar Mar 08 '17 19:03 ghost

Just FYI in case anyone else has this issue, I have created a pull request that addresses this, #35

mrhewitt avatar Sep 14 '18 11:09 mrhewitt