Ember.js: Ember 2.10 - Cannot bind list attribute to input

Created on 1 Dec 2016  路  11Comments  路  Source: emberjs/ember.js

Expectation: list attribute can be bound on input component {{input list="list-id"}}
Result: Error thrown in Chrome Cannot assign to read only property 'list' of object '#<HTMLInputElement>'

For example, check out this fiddle

It works in Safari but not in Chrome.

Bug Ember 2.10

Most helpful comment

@FilmKnurd - FWIW, code is definitely not documentation 馃槤

All 11 comments

Ember 2.10.0:

screen shot 2016-12-01 at 19 04 19

Ember 2.9.0:

screen shot 2016-12-01 at 19 04 38

I would not consider this a bug given that list is not in the documentation as one of the parameters accepted.

@Serabe it seems to be something more fundamental.

<input list="{{foo}}" /> doesn't work either:

https://ember-twiddle.com/6304b98c3ad5d479d426a0c493e8b034?openFiles=templates.application.hbs%2C

screen shot 2016-12-01 at 20 07 14

screen shot 2016-12-01 at 20 12 57

This has been fixed in Glimmer: https://github.com/tildeio/glimmer/pull/354

Thanks @GavinJoyce !

@FilmKnurd - FWIW, code is definitely not documentation 馃槤

This broke my app as well. Any chance we can get a point release that includes the glimmer fix? 馃槏

@pwnall - Yep, for sure.

This can be closed now that 2.10.1 is out

Was this page helpful?
0 / 5 - 0 ratings