# Unable to clear email text field on login form

**URL:** <https://community.auth0.com/t/unable-to-clear-email-text-field-on-login-form/38405>\
**Category:** Get Help\
**Tags:** lock, auth0\
**Created:** [February 24, 2020, 11:22pm UTC](https://community.auth0.com/t/unable-to-clear-email-text-field-on-login-form/38405 "2020-02-24T23:22:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucia.luzuriaga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lucia.luzuriaga/32/19370_2.png) [@lucia.luzuriaga](https://community.auth0.com/u/lucia.luzuriaga)\
**Post date:** [February 24, 2020, 11:22pm UTC](https://community.auth0.com/t/unable-to-clear-email-text-field-on-login-form/38405/1 "2020-02-24T23:22:14Z")

</div>

I have two automated native mobile suites for iOS and Android. Recently, the webview loginform was implemented for the apps and I have adjusted my tests to work with it.

The first login on the webview form works well. However, if I try clear the username field and send keys again, the email is pre-filled and there is no way to clear it.  
When using Appium’s inspector, even if the email field is populated, the element does NOT have any value attribute. Therefore, clearValue() or .setValue(‘’) doesn’t work, as it’s clearing a field which is supposed to be empty.

My issue is very similar to this thread, which didn’t receive any reply:

> [@Reset/Clear email input field on reset password screen](http://community.auth0.com/t/reset-clear-email-input-field-on-reset-password-screen/24745):
>
> For the reset password I have overridden the “auth0-lock-submit” click event and calling my own service for reset password. Now it’s working absolutely fine but the issue is after the email has been sent to user I want to reset/clear email field (auth0-lock-input) and want to redirect user back to login screen. Now if I use $(“.auth0-lock-input”).val(“”); to clear the input field then it’s not working and I think it’s because auth lock is developed using react.js and I need to clear the state o…

I request help, as this is breaking my automation suites.  
Thank you
