Rating Results

ieseberri asked 4 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 4 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


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: 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
Tags