Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to disable input with readonly value #14996

Closed
escobera opened this issue Mar 10, 2017 · 3 comments
Closed

Error when trying to disable input with readonly value #14996

escobera opened this issue Mar 10, 2017 · 3 comments

Comments

@escobera
Copy link

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 <twiddle@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.

@Serabe
Copy link
Member

Serabe commented Mar 10, 2017

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

@Serabe Serabe added the Bug label Mar 10, 2017
@Serabe
Copy link
Member

Serabe commented Mar 10, 2017

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

@escobera
Copy link
Author

escobera commented Mar 10, 2017

It works!
Thanks a lot for the tip =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants