Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

glyphicons are not appearing or displayed. #1

Closed
ayaanraj opened this issue Jul 12, 2018 · 2 comments
Closed

glyphicons are not appearing or displayed. #1

ayaanraj opened this issue Jul 12, 2018 · 2 comments

Comments

@ayaanraj
Copy link

ayaanraj commented Jul 12, 2018

Hi there,
You are creating awesome things and doing fabulous job.
I somehow implement the example in esnext, originally written in typescript.
So, here the problem is glypicons are not displayed as shown in the below image,and throws error as shown below:

formio-test

And, there are so many things in form builder, how I can customise them, as per requirement, could you provide some details.

@ayaanraj ayaanraj changed the title glypicons are not appearing or displayed. glyphicons are not appearing or displayed. Jul 12, 2018
@randallknutson
Copy link
Contributor

Looks like you need to include the fontawesome files in your build process somewhere. This is custom to how you handle the build process.

Here is some information on how to customize the builder: http://formio.github.io/formio.js/app/examples/custombuilder.html

@Daedrias
Copy link

Daedrias commented Apr 9, 2019

In several places in the code there is this :
if (!this.options.icons || this.options.icons === 'glyphicon') {

So to make the form builder use the fontawesome icons, you need to add this :
Formio.builder(document.getElementById('vdm-formio-builder'),
'url to the form',
{icons: 'fontawesome'}
);

Well actually you just need to add the icons attribute to your options. But icons: 'yolo. is not really serious.

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

3 participants