Input box value loosing after tab out

Hello team ,

I am not able to set value to input box .

  1. tabbed out after entering value , value is getting flushed out

i tried below function

setValue id=emailAddress abc@gmail.com

document.getElementById(“emailAddress”).value=“abc@gmail.com

document.querySelector(‘#emailAddress’).value=“abc@gmail.com

setInnerText id=emailAddress abc@gmail.com

setInnerHTML id=emailAddress abc@gmail.com

, could u pls tell me is there any other way to set value

Note: my application not using iframe , even tried that
[hr]
one more note : I tried to set value using selenium webdriver , sendKey function there its working , but not in WPT