A variant of Handlebars that emits DOM and allows you to write helpers that manipulate live DOM nodes
1.61k
stars
193
forks
source link
Ember 2.1: `<a href={{condition}}>` results in `<a href="null">` after `condition` was dynamically set to null #418
Open
lolmaus opened 8 years ago
Crossposting from https://github.com/emberjs/ember.js/issues/12358
So you've got this in your template:
condition
isnull
, and it correctly renders to<a>
.But then you change
condition
dynamically.When
condition
isnull
again, it renders as<a href="null">
.Demo (thx to @alexspeller): http://ember-twiddle.com/a0a8088d67b451817902