Deprecation warning begins showing at v2.0.5 of ember-select-light to reflect ember-template-lint v3.4.2's related warning.
Issue Related ember-template-lint rule
Before:
After:
With Glimmer any attributes intended to go onto the <select>
are handled by a ...attributes
, custom functionality is handled as a passed in property.
This means that standard attributes such as disabled
, id
, class
can be used like so...
Meanwhile, @placeholder
, @options
, @value
, @placeholder
, @valueKey
, and @displayKey
must be prefixed with an @
to specify properties we're passing to the component (rather than an attribute passed to the select element).