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
Hello,
Affected version: angular-svg-icon@18.0.0
In the newest version the src input is always marked as required in the SvgIconComponent https://github.com/czeckd/angular-svg-icon/blob/master/projects/angular-svg-icon/src/lib/svg-icon.component.ts#L29
Because of that we're unable to use icons loaded via registry as mentioned in the README.md
If svg was previously loaded via registry with name it can be used like this: <svg-icon name="eye" [svgStyle]="{ 'width.px':90 }">
If svg was previously loaded via registry with name it can be used like this:
<svg-icon name="eye" [svgStyle]="{ 'width.px':90 }">
When we try to do that, the compiler throws an error and the build fails:
NG8008: Required input 'src' from component SvgIconComponent must be specified.
Is there any workaround for that?
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered:
@duszek94 Thanks for the bug report. I fixed the issue. Please grab version 18.0.1 to resolve it on your end.
Sorry, something went wrong.
@czeckd I can confirm it works correctly now, thank you for the quick fix!
czeckd
Successfully merging a pull request may close this issue.
Hello,
Affected version: angular-svg-icon@18.0.0
In the newest version the src input is always marked as required in the SvgIconComponent
https://github.com/czeckd/angular-svg-icon/blob/master/projects/angular-svg-icon/src/lib/svg-icon.component.ts#L29
Because of that we're unable to use icons loaded via registry as mentioned in the README.md
When we try to do that, the compiler throws an error and the build fails:
Is there any workaround for that?
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: