Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

Ember 2.1: <a href={{condition}}> results in <a href="null"> after condition was dynamically set to null #418

Open
lolmaus opened this issue Sep 29, 2015 · 1 comment

Comments

@lolmaus
Copy link

lolmaus commented Sep 29, 2015

Crossposting from emberjs/ember.js#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

@lolmaus
Copy link
Author

lolmaus commented Sep 29, 2015

Please confirm that this issue belongs here so that I can close the other one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant