Topic: Rating Results
Expected behavior Show rating value without the possibility to change it.
Actual behavior Currently the code let you modify the current rating value, I need a way to show the rating results avoiding the user to modify it.
Resources (screenshots, code snippets etc.)
Marcin Luczak
staff answered 5 months ago
Hi ieseberri,
The functionality of creating a static star rating is not supported in this component. You can, however, achieve it with a custom function that will create stars based on data-stars attribute of the container. Please see my snippet:
https://mdbootstrap.com/snippets/jquery/marcin-luczak/2675278
Regards, Marcin
Answered
- User: Pro
- Premium support: Yes
- Technology: jQuery
- MDB Version: 4.19.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No