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

onChange instead of on-change #237

Open
olenderhub opened this issue Jan 4, 2019 · 1 comment
Open

onChange instead of on-change #237

olenderhub opened this issue Jan 4, 2019 · 1 comment
Labels

Comments

@olenderhub
Copy link

olenderhub commented Jan 4, 2019

Version of x-select:

emberx-select: v4.0.0-beta.2

Ember Version / Ember CLI Version:

Ember Version:
ember-data: ~3.0.0
Ember CLI Version:
ember-cli: ~3.0.4

Regards to readme:

Ember < 3.4:

{{#x-select value=bob on-change=(action "selectPerson") as |xs|}}
  {{#xs.option value=fred}}Fred Flintstone{{/xs.option}}
  {{#xs.option value=bob}}Bob Newhart{{/xs.option}}
{{/x-select}}

it doesn't work for me (it works when I change onChange instead of on-change) - not sure it is not typo in documentation.

@deanylev
Copy link

deanylev commented Apr 20, 2019

Are you perhaps looking at the documentation for the master branch? The README on tags/v4.0.0-beta.2 only lists onChange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants