Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sap.m.SelectDialog - Junk values in search field

Hi

I created a search help option for an Input(sap.m.Input). When it is triggered, i am calling a select dialog. Once it is open , I am getting some junk values automatically in the search fields . Any one faced this before ?

Sreehari

Tags:
Former Member replied

The reason for the junk values is due to,

this._oDialog.open(this);

If you want no values in the search field, it has to be,

this._oDialog.open();

open method takes an argument which will be set as the value for the search field. In your case as you're passing *this* as an argument, the Object is converted into String and set as the value for search field.

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.m.SelectDialog

4 View this answer in context
Not what you were looking for? View more on this topic or Ask a question