Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3255

How to bindProperty to a checkbox

$
0
0

I am executing the following code:

 

new sap.ui.commons.form.FormElement({

                      label: new sap.ui.commons.Label({

                          text: oBundle.getText(

                              "UI_SERVICE_MODEL_ID"),

                          layoutData: new sap.ui.commons.form.GridElementData({

                              hCells: "5"

                          })

                      }),

                      fields: [new sap.ui.commons.CheckBox().bindProperty("checked", "/validation"),]

                  }),

 

but the property binding is not working. It is unchecked always.


Viewing all articles
Browse latest Browse all 3255

Trending Articles



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