Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

How to give input field cursor focus in sapui5 mobile application?

$
0
0

I have tried many ways but Its not working. I tried this methods.

 

1) sap.ui.getCore().byId("GmapLocinput").focus();

 

2) var inputfield = new sap.m.input("",{placeholder:"Name"});

     inputfield.focus();

 

This two method i tried but i'm not getting. please assist me.


Viewing all articles
Browse latest Browse all 6178

Trending Articles