@williamhaley wrote:
https://ember-twiddle.com/8a6aaf6ba703e84e0bafee6efb5bcf0b?openFiles=templates.application.hbs%2C
See twiddle above. I am using
unbound
to attempt to freeze a model.unbound
seems to work as I’d expect and freezes the value when output simply on the page like so.<!-- Does not update, which is what I'd expect --> <p>{{unbound model.name}}</p> <!-- Does not update, which is what I'd expect --> <p> {{#with (unbound model) as |user|}} {{user.name}} {{/with}} </p>
It does not work as I’d expect when the result of
unbound
is used with thebs-form
component.This isn’t really an issue for me since I’m using ember-changeset, but I stumbled across this behavior and was curious as to why this is happening. Why do the values in Form 2 and Form 3 in the twiddle update even though I’m using
unbound
?It seems odd to me that I would be able to see the result of
unbound
ever updating.Apologies if I’m just missing something obvious here.
Posts: 1
Participants: 1