Open dmatthams opened 4 years ago
It's definitely a bug, thanks for reporting. 👍
I'll try to take a look into patching it soon... I don't have a specific ETA, sorry.
No worries, thanks. Will just re-enabled included font awesome for now.
I've hard-coded the field.js file to use far fa-star
instead of fa fa-star-o
just to make it compatible with latest version of font awesome (fa-star-o no longer exists). Possibly worth doing the same on the next release, updating the font awesome dependency.
Also (last thing I promise!) turning font awesome off renders the field type useless.
That sounds good. Hacking the JS file was definitely the right solution for now. 👍
Hello, I've disabled font awesome as I already have it loaded and have set custom icons on a page like this:
This successfully changes the icons when pulling the rating from an entry i.e:
{{ craft.starRatings.stars(entry.reviewsFeaturedReview[0].id) }}
but not for the form field:{{ craft.starRatings.formField('reviewRating') }}
. Here, it's still trying to usefar fa-star-o
for the empty star?Am I doing something wrong or is this a bug?
Thanks