Skip to Content

Fragment Value not appearing on setValue

Hi All,

We have set the value of input on click of button on a Fragment Dialog. sap.ui.getCore().byId("idFragment--txtLatitude").setValue(position.coords.latitude);

But the Value is not displaying on UI. If we close and open the dialog again, the value is appearing. Even the console getValue Showing the value.

Best regards,

Rohit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 06, 2017 at 08:07 PM

    Hello,

    Can you check on the UI control and hierarchy. Generally when have a control as a dependent of another control we run into such issues.

    Make your control as part of the content of the parent control and it should work.

    Thanks and Regards,

    Veera

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 05, 2017 at 02:14 PM

    never do this, please use binding

    Add comment
    10|10000 characters needed characters exceeded