Ember.js: Error when trying to disable input with readonly value

Created on 10 Mar 2017  ·  3Comments  ·  Source: emberjs/ember.js

Hello there,

I'm having trouble when trying to disable an input field with a readonly value. The error I get is:

Assertion Failed: You modified "value" twice on @component:-text-field::ember324> in a single render. It was rendered in "component:-text-field" and modified in "component:-text-field".

This twiddle shows the error better than I can explain, just write anything on the input, press "Enter" and watch the console.

Bug Has Reproduction

Most helpful comment

As a workaround, you can use plain <input> tags (which are faster).

All 3 comments

Strange. This did not happen in Chrome 56 but it does happen after upgrading to Chrome 57.

As a workaround, you can use plain <input> tags (which are faster).

It works!
Thanks a lot for the tip =)

Was this page helpful?
0 / 5 - 0 ratings