Cannot use one-way-textarea in Ember 3
See original GitHub issueIn 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 VM.next (runtime.js:7246)
Here’s the line of code that causes the error: https://github.com/DockYard/ember-one-way-controls/blob/v3.0.1/addon/components/one-way-textarea.js#L11
I’ve got a simple reproduction here: https://github.com/danwenzel/one-way-textarea-bug
If you change ember-source
to 2.18.0
, there is no error.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@martndemus @cibernox - ⬆️ Could someone please release a new version that includes https://github.com/DockYard/ember-one-way-controls/pull/181? This is blocking our upgrade to Ember 3.
Ah, just realized that you did fix this recently: https://github.com/DockYard/ember-one-way-controls/pull/181
Will there be a release cut soon?