How to have a complete list of half-stars in Rating (1,1.5,2,2.5, etc)
-
Hi,
I wish to have 5 stars using Rating so that users can select a value between 0.5 and 5 as either of the following: 0.5 - 1 - 1.5 - 2 - 2.5 - 3 - 3.5 - 4 - 4.5 - 5. I don’t understand how to do it and the only example in the doc shows one icon allowing half-star only when you define the model value as 3.5 (so only the 4th star is split while all the other stars are full and you cannot select a 0.5 value).
Is there a way to accomplish this and if yes, how? Thanks!
-
I made a example https://codepen.io/fal-pasa/pen/mdRPeqO
-
Thanks for that Henrique - it’s a bit confusing for end-users. Would you have an idea how to do it so the half-stars show while you are sliding left to right (left to center of star = show half-star, center to right = show full-star)? Thanks!
-
I don’t have an idea how to do half-stars on hover option.
-
Np - Thanks Henrique!