title: Filtering SelectDialog entries - problem with setting value on Close event
body: <p>I have a problem with setting a value to an Input field after filtering the SelectDialog entries in SAP UI5.</p>
  <p>Items from SelectDialog list are bound to the named JSON model:</p>
  <pre><code>        items=&quot;{ValueHelp&gt;/MATGRP/results}&quot; 
  </code></pre>
  <p>Filtering is perfomed on the &quot;search&quot; event like so:</p>
  <pre><code>        var sValue = oEvent.getParameter(&quot;value&quot;);
          
          var oFilter = new Filter({ 
              filters: [ 
                  new Filter(&quot;DESCRIPTION&quot;, FilterOperator.Contains, sValue),
                  new Filter(&quot;CODE&quot;, FilterOperator.Contains, sValue)
              ],
              and: false
          });
          
          oEvent.getSource().getBinding(&quot;items&quot;).filter(oFilter);
  </code></pre>
  <p>While filtering works nicely and the List is getting refreshed - selecting a value and performing a setSelectedKey on an Input field - doesn't set any value to it. I'm setting the value like so:</p>
  <pre><code>this.sInput.setSelectedKey(oEvent.getParameter(&quot;selectedItem&quot;).getDescription());
  </code></pre>
  <p>If I do not use the search functionality and select the value from the list right away - the Input field gets the value populated after the Dialog is closed.</p>
  <p>Do you have any ideas on what I might be missing?</p>