Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bound values on placeholder #125

Open
bartam opened this issue Sep 18, 2015 · 0 comments
Open

Allow bound values on placeholder #125

bartam opened this issue Sep 18, 2015 · 0 comments

Comments

@bartam
Copy link

bartam commented Sep 18, 2015

It seems that the placeholder doesn't update when the placeholder option is a bound value. Unfortunately, select2 doesn't export the ability to update the placeholder so doing a rerender seems to be the best option. Is there any downside to adding this?

  watchPlaceholder: Ember.observer('placeholder',function() {
      this.rerender()
  }),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant