Hi experts,
I have a MultiInput bind to a OData Model which shows suggestion. Can I filter those suggestions by a value of another control?
Here for an example I have two datePickers and MultiInput and I would like to filter the suggestion list by the values from datePickers
<Label text="Date range filter" labelFor="filterDateRangeSelection"/> <l:HorizontalLayout class="sapUiContentPadding" width="100%" id="filterDateRangeSelection"> <l:content> <DatePicker id="filterDateFrom" displayFormat="short" class="sapUiSmallPaddingBegin" change="onChangeFilterDateFrom" /> <DatePicker id="filterDateTo" displayFormat="short" change="onChangeFilterDateTo" class="sapUiSmallMarginBegin sapUiSmallPaddingEnd" /> </l:content> </l:HorizontalLayout> <Label text="Names" labelFor="filterPlanNames"/> <MultiInput id="filterPlanNames" suggestionItems="{ path: 'plan>/PlansSet', sorter: { path: 'plan>Name' }, filter: VALUES-FROM-DATE-PICKER-ABOVE }" showValueHelp="false" placeholder="{i18n>filter.dialog.planNames.placeHolder}" enableMultiLineMode="false" > <core:Item key="{plan>TestPlanIds}" text="{plan>Name}" /> </MultiInput>
Kind regards,
Filip