Skip to Content

UI5 Example dropdown in Dialog fragment

Does anyone know of an example where a dropdown, either <Select> or <DropDownBox> is being used in Dialog (Fragmented) XML, and where the values are NOT hard-coded in the XML itself.

All the examples I can see in Explored, and elsewhere, seem to have hard coded the values in the XML itself, and what I'm looking for is how they prepare the data in the controller and bind it.

So, I have XML/controller which then opens a Dialog to display further information. I have lots of dropdown values in standard Views, but the Dialog seems to be more challenging, and trying to find a good example is proving very difficult.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 27, 2017 at 05:09 PM
    -1

    there is no difference for your case(xmlview or fragment),

    what's your problem now?

    create the the dialog and add it as dependent to the view, that should be all you have to do.

    Add comment
    10|10000 characters needed characters exceeded