Topic: Rating Results
ieseberri free asked 3 years ago
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 3 years 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.19.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No