β π π Bug report: Star Rating Widget Display Issue (PR #18170) - [ED-7362] #18169
Closed
5 tasks done
Labels
bug
Indicates a bug with one or multiple components.
mod*
solved
Indicates that an Issue has been Solved, or a Feature Request has been Released.
solved-by/loop-builder
Indicates that an Issue or Feature Request will be solved by using Elementor Proβs Loop Builder.
status/merged
Indicates when a Pull Request has been merged to a Release.
type/layout
Indicates when a topic is related to a componentβs Layout.
type/styles
Indicates when a topic is related to the styles or design of a component.
widget/star-rating*
References the (legacy) Start Rating widget.
Milestone
Prerequisites
Description
When you input a rating value that has two decimal places it rounds it up, while if you use one decimal place it works as intended and doesn't round up. I noticed this when I did a customers website and did an average rating of 4.65 and it rounded to 5 in star value.
Steps to reproduce
Add star rating widget to a page. Add a value like '4.65' to the rating field then click the 'Style' tab and you will see it round up.
Video:
2022-03-16.10-01-00.mp4
Isolating the problem
System Info
The text was updated successfully, but these errors were encountered: