unable to fire the function or show the icon from the fontawesome although the library is imported

unable to fire the function or show the icon from the fontawesome although the library is imported

mimo_2005mimo_2005 Posts: 4Questions: 2Answers: 0
data() {
        return {
            columns: [
                {data: 'name'},
                {
                    data: null,
                    orderable: false,
                    render: (data) => {
                        return `<button type="button" @click.prevent="startUpdating(${data})">
                                          <font-awesome-icon icon="pen-to-square" style="color: orange" size="xl" data-toggle="tooltip" />
                                    </button>`;
                    }
                },
            ]
        }
    },

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,484Questions: 1Answers: 10,467 Site admin

    Happy to take a look at a test case showing the issue.

    Allan

  • allanallan Posts: 63,484Questions: 1Answers: 10,467 Site admin
    Answer ✓

    In fact, I see this is a duplicate question from this thread. Please don't post duplicates.

    Closing this one.

    Allan

This discussion has been closed.