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

How to change control from other control in mvc

$
0
0

Hi,

 

I've MVC app with  text field and I want that when the user enter some text on it it will change the drop down selected value,

How should I do that ?

Example will be very helpful

 

 

This is the text field and for example when you type aaa I want that the drop down will have aaa selected

for example the drop down contain aaa bbb ccc etc

 

 

 

var tF = new sap.ui.commons.TextField({

 

  liveChange: [oController.onChange, oController]

  });

 

 

I saw the last example here but its not helpful since this example is not using  MVC

 

DropdownBox - SAPUI5 Demo Kit

 

I need somehow in the live change of the text field do the drop down logic to change the selected value


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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