sapui5 - How can I add onfocus() functionality in text field in sap ui5 instead of liveChange() -


how can add onfocus() functionality in text field in sap ui5 instead of livechange(), have tried using onfocusin(), not working, suggest more functionalities.

use attachbrowserevent method:

oyourtextcontrol.attachbrowserevent("onfocus", function(oevent) {     // whatever }); 

https://openui5.hana.ondemand.com/#docs/api/symbols/sap.ui.core.control.html#attachbrowserevent


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -