Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Backspace not working on Input tag

$
0
0

I have an Input tag of type "Text" where I want the user to enter only in uppercase , hence I am using liveChange event for this. But for some reason, the backspace on the keypad is not working. Not able to understand why.

 

 

    <Input

                liveChange="handleChange"

                id="userName"

                type="Text" />   

 

    handleChange : function(){

 

  var userName=this.getView().byId("userName").getValue();

  userName=userName.toUpperCase();

    this.getView().byId("userName").setValue(userName);

  }

 

 

Please help. Thanks


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>