Bugfixes:
- #9 - substitute reference to parentView with call to this.nearestOfType. (@pavloo)
- Now bm-options visibility is toggled via the 'is-open' class on bm-select instead of toggling the
isVisible
property of bm-options. This should take care of any warnings shown from the CSP addon about using inline styles.
- Added
demoURL
to package.json to enable demo listing in emberaddons.com and emberobserver.com
Bugfixes:
- #7 - Don't break when an event isn't passed in. (@jkatsnelson)
- #8 - Dont throw error when there is no element. (@jkatsnelson)
- Upgraded addon to ember-cli 0.2.3.
Features:
- #6 - Now options can be disabled by setting the
isDiabled
option to true forbm-option
.
Documentation:
- Added documentation relating to disabling options.
Bugfixes:
- Options menu now closes when clicked outside of the select box. (#5)
- Placeholder option can now be added. (#4)
Bugfixes:
- Selected option is now focussed when dropdown is opened via click. (#1)
- When there is no selected option, the first option is focussed. (#2)
- The focus is retained when the dropdown is closed. (#3)
- The default action is only prevented for keydown events that are handled.
- The data is set as the same as value in bm-option when the value is specified.
- Fixed an issue where bm-options component was using the same instance of options.
Documentation:
- Added comments to the component files.
- Initial release