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

How to set one way binding to text & datepicker?

$
0
0

Hello,

 

I am using JSON model which is two binding. In one of the scenarios I want to set sap.m.Text & sap.m.DatePicker to one way binding.

I am using xml view, I tried setting as

 

<Text text="{path: 'mainModel>DESCR'

          mode: sap.ui.model.BindingMode.OneWay}" />

 

I get error "uncaught Object".

 

Could someone help me out to fix this?

 

Thanks,

Rashmi


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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