You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took the demo gist, updated it to use the release channel of ember, and changed the sanitizeInput function to just always return a fixed value (thus always changing the initial value to something else):
Because sanitizeInput is called on load (see #135), that causes the following error when the app first renders:
Assertion Failed: You modified currentValue twice on (generated application controller) in a single render. This was unreliable and slow in Ember 1.x and is no longer supported. See emberjs/ember.js#13948 for more details.
My understanding of Ember isn't strong enough to know how to fix this, though 😞
The text was updated successfully, but these errors were encountered:
bgentry
changed the title
when sanitize changes initial input, modified value twice in a single render
when sanitize changes initial input, value is modified twice in a single render
Jan 2, 2017
I took the demo gist, updated it to use the
release
channel of ember, and changed thesanitizeInput
function to just always return a fixed value (thus always changing the initial value to something else):https://ember-twiddle.com/21941c09a4bb7ac7e8c03f174208806b?openFiles=components.one-way-input.js%2C
Because
sanitizeInput
is called on load (see #135), that causes the following error when the app first renders:My understanding of Ember isn't strong enough to know how to fix this, though 😞
The text was updated successfully, but these errors were encountered: