Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: How to Create a CHECK BOX inside Leave Request SAPUI5 application

$
0
0

Hi Harish,

Here checkbox is expecting the boolean value but it is bind with String so it is giving error.

You can try to do dynamic binding for the same. For this complex binding should be set to true at component.js or index.html wherever your bootstrapping is done.

 

For example

checkbox.bindProperty("checked","fieldname", function(fieldname){

if(fieldname=="A")

return true;

else

return false;

 

 

});

 

 

There is also error for controller reference. You have to fix that too.

 

 

With Regards,

Ramesh Shrestha


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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