emberx-select-blockless

Extends the x-select component so that it can be used in blockless form a-la the now deprecated Ember.SelectView.

Usage no npm install needed!

<script type="module">
  import emberxSelectBlockless from 'https://cdn.skypack.dev/emberx-select-blockless';
</script>

README

Warning: This project has been deprecated

We have deprecated this project and will no longer support it. If you would like to continue using a blockless style <select> we highly recommend ember-ted-select.

emberx-select-blockless

npm version Ember Observer Score Build Status

This Addon extends emberx-select so that it can be used in blockless form. It has a syntax mostly compatible with the now deprecated Ember.SelectView which makes transitioning your applications a bit easier.

If you can, use vanilla x-select. If you must, use x-select-blockless.

Basic Example

{{x-select action="tagYouAreIt" disabled=isDisabled
  multiple=true
  content=folks
  value=it
  optionValuePath="content.id"
  optionLabelPath="content.name"}}

A note about selection vs. value When using Ember.Select, one would set either the value or selection property in order to bind a selected option to a property. X-Select departs from Ember.Select and does not support the selection option. Instead, only use the value option when binding to properties.

EmberX

emberx-select-blockless is part of the "missing components of ember" collectively known as emberx. See also:

Installation

ember install emberx-select-blockless

Running Tests

  • ember test
  • ember test --server

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms, which can be found in the CODE_OF_CONDUCT.md file in this repository.