Skip to content

Font Awesome icons not rendering #143

@lucasbode

Description

@lucasbode

To reproduce the issues, I am using the angular-demo application seen here - https://github.com/formio/angular-demo

I updated the following dependencies to the latest versions.

"@formio/angular": "9.0.1",
"@formio/js": "5.2.2",

The repo is using font-awesome@4.7.0

The following icon names fail to render for me.

  • question-sign
  • move
  • new-window
  • circle-xmark

It seems like the generated markup is attempting to reference icons that do not exist in 4.7.0. I've tried upgrading to different versions of font-awesome without any luck. We are having to override the iconClass function in order to render the correct icons.

We've also noticed an issue with what appears to be a hard coded bootstrap icon that doesn't render. And we are unable to resolve this one by overriding the iconClass since it isn't being used here -

<button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="{{ctx.datagridKey}}" style="display: block; margin: 0 auto"></button>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions