-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty links by ng2 uiSref
directive
#26
Labels
Milestone
Comments
From @artaommahe on January 9, 2017 20:16 Fixed expected result html, due to empty href forced to reload page |
Closed
gcca
pushed a commit
to gcca/ng2
that referenced
this issue
Mar 30, 2017
gcca
pushed a commit
to gcca/ng2
that referenced
this issue
Mar 30, 2017
I created a PR. But the bug cannot be shown on unit test with PhantomJS (unlike Firefox or Chrome launcher). |
None of this is working:
What could I be doing wrong? |
Never mind, the problem was my items links which was
Just removed the / and all worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @artaommahe on January 8, 2017 20:16
uiSref
directives binds'null'
string tohref
on providednull
or empty string''
state.current behavior
expected no
href
attribute (null property value?)It's required for dynamic links when for some cases
href
should be empty and link clicks does not trigger any state changes (access rights check e.x.)Copied from original issue: angular-ui/ui-router#3248
The text was updated successfully, but these errors were encountered: