Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot use one-way-textarea in Ember 3

See original GitHub issue

In Ember 3.0.0-beta.6, putting a one-way-textarea in a template throws an error:

Uncaught TypeError: Cannot set property type of [object Object] which has only a getter
    at Class.init (one-way-textarea.js:15)
    at Class.superWrapper [as init] (ember-utils.js:420)
    at new Class (core_object.js:118)
    at Function._ClassMixinProps.create (core_object.js:277)
    at FactoryManager.create (container.js:420)
    at Proxy.create (container.js:178)
    at CurlyComponentManager.create (curly.js:155)
    at runtime.js:1671
    at AppendOpcodes.evaluate (runtime.js:70)
    at (runtime.js:7246)

Here’s the line of code that causes the error:

I’ve got a simple reproduction here:

If you change ember-source to 2.18.0, there is no error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

danwenzelcommented, Feb 22, 2018

@martndemus @cibernox - ⬆️ Could someone please release a new version that includes This is blocking our upgrade to Ember 3.

danwenzelcommented, Feb 15, 2018

Ah, just realized that you did fix this recently:

Will there be a release cut soon?

Read more comments on GitHub >

github_iconTop Results From Across the Web

DEPRECATED: ember-one-way-controls
This project has been deprecated. When Ember 1.13 came out it became possible to use the native <input> element with one-way bindings. Unfortunately,...
Read more >
Emberjs Textarea 2 way binding with data that needs to be ...
I am using Emberjs Textarea which has 2 way binding with the @value attribute. The data I am passing into the value is...
Read more >
Ember.TextArea - 2.12
This is the core method used to register an observer for a property. Once you call this method, any time the key's value...
Read more >
Ember.js 2.0 Example App With Firebase And Login ...
When using Emberfire with torii we'll have access to a service ... Once again we'll use the <textarea> element using one-way-binding to ...
Read more >
It All Starts with a Humble <textarea>
Understanding how a minimum viable experience works can be a bit tough, admittedly, so I like to use a the following diagram to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found