These lines are causing problems for me when manually closing the dropdown. At this point I would expect to want to see the placeholder. Also, the `val` variable here is undefined (it gets set in the clause above) and so I end up seeing 'undefined' in my input box)

    this.input.hidePlaceholder();
    this.input.setHint(val + (match ? match[1] : ''));

When I remove the lines, the behaviour is as I would expect it.