{"action":"created","issue":{"url":"https://api.github.com/repos/athombv/homey/issues/234","repository_url":"https://api.github.com/repos/athombv/homey","labels_url":"https://api.github.com/repos/athombv/homey/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/athombv/homey/issues/234/comments","events_url":"https://api.github.com/repos/athombv/homey/issues/234/events","html_url":"https://github.com/athombv/homey/issues/234","id":135500558,"number":234,"title":"Autocomplete flow card argument is not working","user":{"login":"netactivenl","id":17319189,"avatar_url":"https://avatars.githubusercontent.com/u/17319189?v=3","gravatar_id":"","url":"https://api.github.com/users/netactivenl","html_url":"https://github.com/netactivenl","followers_url":"https://api.github.com/users/netactivenl/followers","following_url":"https://api.github.com/users/netactivenl/following{/other_user}","gists_url":"https://api.github.com/users/netactivenl/gists{/gist_id}","starred_url":"https://api.github.com/users/netactivenl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netactivenl/subscriptions","organizations_url":"https://api.github.com/users/netactivenl/orgs","repos_url":"https://api.github.com/users/netactivenl/repos","events_url":"https://api.github.com/users/netactivenl/events{/privacy}","received_events_url":"https://api.github.com/users/netactivenl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-22T18:26:12Z","updated_at":"2016-02-22T21:13:03Z","closed_at":null,"body":"**What is your Homey version (Settings → System)?**\r\n\r\n0.8.17\r\n\r\n**What did you try to achieve?**\r\n\r\nI want to use an autocomplete argument on a flow card to offer the user a selection of device activities to choose from.\r\n\r\n**What was the result?**\r\n\r\nIn my autocomplete event handler I only get the first letter I typed in the autocomplete field. Subsequent letters I type do raise the event again, but keep getting only the first letter. \r\n\r\n**What did you expect as result?**\r\n\r\nI expected to see events come in as I type, everytime giving passing the complete current text in the argument field. Also I was expecting to get the device associated with the card, but the device is never passed. Emile stated I should be getting something like this:\r\n\r\n{ device: ​*device_data*​, query: “start tv” }\r\n\r\nBut I'm only getting:\r\n\r\n{ query: '' } or { query: 's' }\r\n\r\nThis is my app.json (relevant part only):\r\n\r\n`\"flow\": {\r\n    \"actions\": [\r\n      {\r\n        \"id\": \"start_activity\",\r\n        \"title\": {\r\n          \"en\": \"Start an activity\",\r\n          \"nl\": \"Start een activiteit\"\r\n        },\r\n        \"args\": [\r\n          {\r\n            \"name\": \"hub\",\r\n            \"type\": \"device\",\r\n            \"filter\": \"driver_id=hub\"\r\n          },\r\n          {\r\n            \"name\": \"activity\",\r\n            \"type\": \"autocomplete\",\r\n            \"placeholder\": {\r\n              \"en\": \"Activity name\",\r\n              \"nl\": \"Naam activiteit\"\r\n            }\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }`\r\n"},"comment":{"url":"https://api.github.com/repos/athombv/homey/issues/comments/187385816","html_url":"https://github.com/athombv/homey/issues/234#issuecomment-187385816","issue_url":"https://api.github.com/repos/athombv/homey/issues/234","id":187385816,"user":{"login":"netactivenl","id":17319189,"avatar_url":"https://avatars.githubusercontent.com/u/17319189?v=3","gravatar_id":"","url":"https://api.github.com/users/netactivenl","html_url":"https://github.com/netactivenl","followers_url":"https://api.github.com/users/netactivenl/followers","following_url":"https://api.github.com/users/netactivenl/following{/other_user}","gists_url":"https://api.github.com/users/netactivenl/gists{/gist_id}","starred_url":"https://api.github.com/users/netactivenl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netactivenl/subscriptions","organizations_url":"https://api.github.com/users/netactivenl/orgs","repos_url":"https://api.github.com/users/netactivenl/repos","events_url":"https://api.github.com/users/netactivenl/events{/privacy}","received_events_url":"https://api.github.com/users/netactivenl/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T21:13:03Z","updated_at":"2016-02-22T21:13:03Z","body":"Maybe it has to do with the fact my flow card is part of a driver. Is your flow card part of an app you drag from the App container in the sidebar? "}}