htmlbars
htmlbars copied to clipboard
Ember 2.1: `<a href={{condition}}>` results in `<a href="null">` after `condition` was dynamically set to null
Crossposting from https://github.com/emberjs/ember.js/issues/12358
So you've got this in your template:
<a href={{condition}}>
condition
is null
, and it correctly renders to <a>
.
But then you change condition
dynamically.
When condition
is null
again, it renders as <a href="null">
.
Demo (thx to @alexspeller): http://ember-twiddle.com/a0a8088d67b451817902
Please confirm that this issue belongs here so that I can close the other one.