You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a filterable DropDownList in a container that is displayed with a "ng-if" directive.
The widget's DataSource is initialized in a variable outside the widget's options.
After filtering the list (and selecting an item) I proceed to hide the container.
When the container gets showed again the DropDownList shows only the filtered items and the filter textbox is empty, I have to manually change the filter text to see again all the items.
The issue is not present if the datasource is initialized in the directive's options because it gets re-created with the widget.
Expected Behaviour
I was expecting to see the textbox compiled with the previous filter or, at least, to see the entire list and not only the filtered items.
Suggested solution
I would suggest to check if the datasource is already filtered by the filtering field during the widget's initialization and then proceed to write the current value in the input field.
Hi,
I have a filterable DropDownList in a container that is displayed with a "ng-if" directive.
The widget's DataSource is initialized in a variable outside the widget's options.
After filtering the list (and selecting an item) I proceed to hide the container.
When the container gets showed again the DropDownList shows only the filtered items and the filter textbox is empty, I have to manually change the filter text to see again all the items.
The issue is not present if the datasource is initialized in the directive's options because it gets re-created with the widget.
Expected Behaviour
I was expecting to see the textbox compiled with the previous filter or, at least, to see the entire list and not only the filtered items.
Suggested solution
I would suggest to check if the datasource is already filtered by the filtering field during the widget's initialization and then proceed to write the current value in the input field.
Here you can see a demo of the problem: http://dojo.telerik.com/OnIre
The text was updated successfully, but these errors were encountered: