We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uiSref
uiSref directives binds 'null' string to href on provided null or empty string '' state.
'null'
href
null
''
current behavior
<!-- template --> <a [uiSref]="null">smth</a> <a [uiSref]="''">smth</a> <!-- result --> <a href="null">smth</a>
expected no href attribute (null property value?)
<!-- result --> <a>smth</a>
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.)
The text was updated successfully, but these errors were encountered:
Fixed expected result html, due to empty href forced to reload page
Sorry, something went wrong.
This issue was moved to ui-router/angular#26
No branches or pull requests
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.)The text was updated successfully, but these errors were encountered: