Skip to content

Instantly share code, notes, and snippets.

@StErMi
Created September 12, 2017 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StErMi/9a524d1a281dd770e513ff2617acd360 to your computer and use it in GitHub Desktop.
Save StErMi/9a524d1a281dd770e513ff2617acd360 to your computer and use it in GitHub Desktop.
openui5-multiinputdialog View.xml
<df:MultiInputDialog
suggestionItems="{oData>/Customers}"
tokens="{oDataModel>/tokens}"
tokenUpdate="onTokenUpdate"
selectDialogItems="{oData>/Customers}"
selectDialogFilterKeys="ContactName,ContactTitle"
selectDialogMultiSelect="true">
<df:suggestionItems>
<core:Item
key="{oData>CustomerID}"
text="{oData>ContactName}, {oData>ContactTitle}" />
</df:suggestionItems>
<df:selectDialogItems>
<StandardListItem
title="{oData>CustomerID}"
info="{oData>ContactName}, {oData>ContactTitle}" />
</df:selectDialogItems>
<df:tokens>
<Token key="{oData>CustomerID}"
text="{oData>ContactName}, {oData>ContactTitle}" />
</df:tokens>
</df:MultiInputDialog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment