emberx-select
emberx-select copied to clipboard
onChange instead of on-change
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.
Are you perhaps looking at the documentation for the master
branch? The README
on tags/v4.0.0-beta.2
only lists onChange