Open JoannaFalkowska opened 7 years ago
I'm currently testing for existence of a placeholder here. Can you prove that test should be failing?
Confirm placeholder works on element instantiation.
Changing issue name to: "bind g-autocomplete options" and adding enhancement label. Adding this to the v1 release.
Options like
placeholder
oroptions
passed to g-autocomplete don't work correctly. The only things that functions property areon-select
action andvalue
which are correctly passed. I'm using Ember CLI 2.8.0.It can be very easily reproduced just with:
{{g-autocomplete placeholder='type country'}}
Any idea what's happening?
Also I see that it only consumes
options
passed in didInsertElement hook, that means that options can't be a computed property, right? What's the reason for this?