{"action":"created","issue":{"url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker/issues/4","repository_url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker","labels_url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker/issues/4/comments","events_url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker/issues/4/events","html_url":"https://github.com/davecoffin/nativescript-filterable-listpicker/issues/4","id":283942393,"number":4,"title":"Show not working.","user":{"login":"LorenDorez","id":3706392,"avatar_url":"https://avatars1.githubusercontent.com/u/3706392?v=4","gravatar_id":"","url":"https://api.github.com/users/LorenDorez","html_url":"https://github.com/LorenDorez","followers_url":"https://api.github.com/users/LorenDorez/followers","following_url":"https://api.github.com/users/LorenDorez/following{/other_user}","gists_url":"https://api.github.com/users/LorenDorez/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenDorez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenDorez/subscriptions","organizations_url":"https://api.github.com/users/LorenDorez/orgs","repos_url":"https://api.github.com/users/LorenDorez/repos","events_url":"https://api.github.com/users/LorenDorez/events{/privacy}","received_events_url":"https://api.github.com/users/LorenDorez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-21T16:53:54Z","updated_at":"2017-12-21T17:40:19Z","closed_at":null,"author_association":"NONE","body":"I have added this to the view and call\r\n```\r\npage.getViewById(\"myfilter\").show();\r\n```\r\n\r\nbut nothing happens in them emulator. any ideas? I can pull all properties from the filter picker but it just never shows"},"comment":{"url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker/issues/comments/353412185","html_url":"https://github.com/davecoffin/nativescript-filterable-listpicker/issues/4#issuecomment-353412185","issue_url":"https://api.github.com/repos/davecoffin/nativescript-filterable-listpicker/issues/4","id":353412185,"user":{"login":"davecoffin","id":1245462,"avatar_url":"https://avatars0.githubusercontent.com/u/1245462?v=4","gravatar_id":"","url":"https://api.github.com/users/davecoffin","html_url":"https://github.com/davecoffin","followers_url":"https://api.github.com/users/davecoffin/followers","following_url":"https://api.github.com/users/davecoffin/following{/other_user}","gists_url":"https://api.github.com/users/davecoffin/gists{/gist_id}","starred_url":"https://api.github.com/users/davecoffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecoffin/subscriptions","organizations_url":"https://api.github.com/users/davecoffin/orgs","repos_url":"https://api.github.com/users/davecoffin/repos","events_url":"https://api.github.com/users/davecoffin/events{/privacy}","received_events_url":"https://api.github.com/users/davecoffin/received_events","type":"User","site_admin":false},"created_at":"2017-12-21T17:40:19Z","updated_at":"2017-12-21T17:40:19Z","author_association":"OWNER","body":"Using your simple test code, it works for me. One thing you are definitely doing wrong in your XML code above is you are putting it in a stacklayout. Another thing to note is that when you are using GridLayouts to layer things, the thing you want to be on top needs to be AFTER the other layout code. For example:\r\n\r\n```\r\n<GridLayout>\r\n    <Label text=\"I AM ON BOTTOM\"></Label>\r\n    <Label text=\"I AM ON TOP\"></Label>\r\n</GridLayout>\r\n```\r\n\r\nTry using this XML, it uses a gridlayout which will layer it properly, and its placed below your other layout code:\r\n\r\n```\r\n\r\n<Page navigatingTo=\"onNavigatingTo\" \r\n    xmlns:df=\"nativescript-pro-ui/dataform\"\r\n    xmlns:ui=\"nativescript-filterable-listpicker\"\r\n    xmlns=\"http://www.nativescript.org/tns.xsd\">\r\n    <ActionBar class=\"action-bar\">\r\n        <NavigationButton text=\"Go Back\" android.systemIcon=\"ic_menu_back\" tap=\"navigateBack\"></NavigationButton>\r\n        <Label class=\"action-bar-title\" text=\"Citation\"></Label>\r\n    </ActionBar>\r\n    <GridLayout>        \r\n        <StackLayout>\r\n            <Button text=\"Choose type...\" class=\"m-t-0\" tap=\"showFilter\" />\r\n            <Label text=\"{{ subdivision === null ? property.Name : property.Name + ' > ' + subdivision.Name }}\" class=\"t-19 p-5 text-center bg-orange\" />\r\n            <ScrollView>\r\n                <StackLayout id=\"frmCitation\">\r\n                    <Label text=\"Property Id\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.PropertyId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Subdivision Id\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.SubdivisionId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"License Plate\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.LicensePlateNumber }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Address\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.AddressId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Violation Type\" class=\"p-l-5 font-weight-bold\" />\r\n                    <Button text=\"Choose type...\" class=\"m-t-0\" tap=\"showFilter\" />\r\n                    \r\n                    <Label text=\"Violation\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.PropertyViolationId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Violation Workflow Step\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.PropertyViolationWorkflowId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Patrol Date\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.PatrolDate }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Make\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.Vehicle.VehicleMakeId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Color\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.Vehicle.VehicleColorId }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Is Repeat Offender\" class=\"p-l-5 font-weight-bold\" />\r\n                    <Switch checked=\"{{ citation.IsRepeatOffender }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Is Valid\" class=\"p-l-5 font-weight-bold\" />\r\n                    <Switch checked=\"{{ citation.IsValid }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Invalid Reason\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextView text=\"{{ citation.InvalidReason }}\" class=\"m-t-0 m-l-10 m-r-10\" />\r\n\r\n                    <Label text=\"Permit #\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.PermitNumber }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Comments\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextView text=\"{{ citation.Comments }}\" class=\"m-t-0 m-l-10 m-r-10\" />\r\n\r\n                    <Label text=\"Created Date\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.CreatedDate }}\" class=\"m-t-0\" />\r\n\r\n                    <Label text=\"Created User Id\" class=\"p-l-5 font-weight-bold\" />\r\n                    <TextField text=\"{{ citation.CreatedUserId }}\" class=\"m-t-0\" />\r\n                </StackLayout>\r\n            </ScrollView>\r\n        </StackLayout>\r\n        <ui:FilterableListpicker id=\"myfilter\" blur=\"dark\" hintText=\"Type to filter...\" source=\"{{ listitems }}\" cancel=\"{{cancelFilterableList}}\" itemTapped=\"{{itemTapped}}\" />\r\n    </GridLayout>\r\n</Page>\r\n```"}}
{"actor":{"display_login":"davecoffin"}}