# Forms dropdown autofill bug

**URL:** <https://community.auth0.com/t/forms-dropdown-autofill-bug/184149>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [March 19, 2025, 7:14pm UTC](https://community.auth0.com/t/forms-dropdown-autofill-bug/184149 "2025-03-19T19:14:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![myles.dawson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/myles.dawson/32/73705_2.png) [@myles.dawson](https://community.auth0.com/u/myles.dawson)\
**Post date:** [March 19, 2025, 7:14pm UTC](https://community.auth0.com/t/forms-dropdown-autofill-bug/184149/1 "2025-03-19T19:14:16Z")

</div>

Hello! We are using a custom Form for step 2 of user registration. This form has a dropdown field for the country selection. It is pre-filled with users preferred country.

 ![Screenshot 2025-03-19 at 12.08.48 PM](https://global.discourse-cdn.com/auth0/original/3X/4/2/42c8186e771457736fa041d80b2a16994e423c24.png)

The bug occurs when the user attempts to autofill (chrome) information into the first or last-name field which causes the user’s autofill Country to replace the country in the dropdown. Then, if the user clicks the dropdown arrow the previous country appears selected but the form submits the country value from the user’s autofill information.

For example. Here the user had the country Germany prefilled. Then they went to autofill the first name field and it also autofilled the country field as well. However, if the user clicks the dropdown arrow then the previous country appears yet the autofilled country is submitted on clicking “Sign In”:

 ![Screenshot 2025-03-19 at 12.07.02 PM](https://global.discourse-cdn.com/auth0/original/3X/e/0/e0be962aefc15b5f7c2ed5ca7e467a0ed06098ad.jpeg)  
 ![Screenshot 2025-03-19 at 12.07.14 PM](https://global.discourse-cdn.com/auth0/original/3X/e/6/e69ec69249dc6ddfe9d99930a750a97084a80be6.jpeg)  
 ![Screenshot 2025-03-19 at 12.07.20 PM](https://global.discourse-cdn.com/auth0/original/3X/3/3/33ca84f8198d46c1889b4e6f3c7adcd7409737a2.jpeg)  
 ![Screenshot 2025-03-19 at 12.07.24 PM](https://global.discourse-cdn.com/auth0/original/3X/1/3/13b6400147e32bf64aa2fa837f9ea68b98d01ef2.jpeg)  
 ![Screenshot 2025-03-19 at 12.08.16 PM](https://global.discourse-cdn.com/auth0/original/3X/7/2/7245c5d3dca518d834e296b7cc9953a338b5ae44.png)

This appears to be a bug with how the Dropdown component in Forms works with chrome autofill. Any suggestions or workarounds would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [March 19, 2025, 9:29pm UTC](https://community.auth0.com/t/forms-dropdown-autofill-bug/184149/3 "2025-03-19T21:29:13Z")

</div>

Hi @myles.dawson,

I have just tested the Forms dropdown behavior on my end and encountered the exact behavior you mentioned.

If I use autofill to fill in the form, my country that was autofilled overrides any selection I have made for the country drop-down options. I verified this by clicking on continue and seeing my autofilled country saved rather than the country I selected previously.

From what I understand, this is the expected autofill behavior. It is meant to override any autofilled fields and use those values over the ones you selected previously.

If the user would like to change their selection after it has been autofilled, then they might have to re-select their country again.

Let me know if you have any follow-up questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![myles.dawson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/myles.dawson/32/73705_2.png) [@myles.dawson](https://community.auth0.com/u/myles.dawson)\
**Post date:** [March 20, 2025, 4:23pm UTC](https://community.auth0.com/t/forms-dropdown-autofill-bug/184149/4 "2025-03-20T16:23:17Z")

</div>

Hello @rueben.tiow!

The autofill behavior is working great, however there appears to a be a bug when clicking the dropdown “arrow” icon after using autofill.

In the screenshots below we can see dropdown is prefilled with “Germany” value. Then user enters autofill information which contains “Canada” country. However, when user clicks the arrow afterwards the dropdown value appears as “Germany” once again. Even more strange, when the form is submitted the country value is sent as “Canada” and not “Germany” as is displayed on screen!

 ![Screenshot 2025-03-20 at 9.19.47 AM](https://global.discourse-cdn.com/auth0/original/3X/e/e/eee694a97f220274050a3985614f6b9f7ecde9af.jpeg)  
 ![Screenshot 2025-03-20 at 9.19.51 AM](https://global.discourse-cdn.com/auth0/original/3X/c/a/ca9ada8f0e44079b19d03831e0612e3a5dae741d.jpeg)  
 ![Screenshot 2025-03-20 at 9.19.54 AM](https://global.discourse-cdn.com/auth0/original/3X/f/6/f6e2a5adc02b082c68f68b30efc1da050c3ef98d.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 3, 2025, 4:23pm UTC](https://community.auth0.com/t/forms-dropdown-autofill-bug/184149/5 "2025-04-03T16:23:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
