[Rating] heart displays a star #401
-
Bug ReportIn version 2.6.4 my fiddle would display a heart, in latest version it displays a star. Expected resultA heart icon is displayed Actual resultA star icon is displayed Testcasehttps://jsfiddle.net/58armz9s/ Version2.7.1 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The Rating module was improved in 2.7, so you can use any icon you want, but needs a change in your code Star is the default, you have to add |
Beta Was this translation helpful? Give feedback.
-
You also need to add the color you want, so if the heart should be displayed in red as before , use |
Beta Was this translation helpful? Give feedback.
-
Sorry my mistake for not checking the updated documentation |
Beta Was this translation helpful? Give feedback.
You also need to add the color you want, so if the heart should be displayed in red as before , use
ui red rating
...but now you can use any color you want from the fui color palette 🙂Adjusted fiddle: https://jsfiddle.net/ouw6n9cs/1/