Description
When setting a searchbar to the search property of a tableview or a listview Android and iOS will add the searchbar to the view for a user.
var _window = Ti.UI.createWindow();
var searchBar = Ti.UI.createSearchBar({
});
var tableView = Ti.UI.createTableView({
search: searchBar,
data: [{title: 'Test1'}, {title: 'Test2'}]
});
_window.add(tableView);
_window.open();
Steps to reproduce
Add the above code to an existing app.js
Build for Windows platform
Actual result
Searchview is not added to the view unless a developer explicitly does so
Expected result
Searchview should be added to the view when added to a tableview/listview
master: https://github.com/appcelerator/titanium_mobile_windows/pull/936
[~kota] Which fixVersion is this going in? The field currently has "None".
This should go to
6.1.0. Updated.Verified fixed with the code provided above, was able to see the search bar and use it to search for items in the tableview. !6.1.0.v20170202120400.PNG|thumbnail! *Environment*