Closed deequez closed 8 years ago
Hi @deegill, it's just that by default it displays USA, but if you remove it manually, you will see that your placeholder is taken into account. In the readme, there is a section where you can set the default value. So I think if you set it to an empty string "", your placeholder will be displayed
@deegill #20 the placeholder behavior will be as you mentioned
In version 2.3, even though I've included
placeholder=Country
in myselect
element, the placeholder text is not showing up in the browser.Here's my html:
<select id='authy-countries' name='user[country_code]' placeholder='Country'></select>
Here is the DOM:
Here it is rendered in the browser: