简体   繁体   中英

SAP UI5 : How to clear the input fields after submit

after providing login credentials when i click login button it takes me to next screen But the values remain there when i press log out i am routed to login screen where it holds user name and password which provided by me during login

pls help me out to resolve this

You can reset the Input value via.

this.oLabelInput.setValue("");

And do this in the onRouteMatched() or onPatternMatched() of your Login page. Then you will always get empty fields

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM