You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for adding the display caption as title mode but there is still one issue.
In my code I have the possibility to show the caption as a title, so you see the current value on hover.
But also (and this isn't possible in your version) show the caption as well.
This is needed e.g. if you create a pdf from the html code and the value of the rating is not integer but some decimal value (like 3.4 of 5).
With only the "stars" it is not correctly visible if the rating is 3.4 or 3.5 or ..
So it should be possible to also print out the caption the same way as the rating shows in input mode.
Expected behavior and actual behavior
When I follow those steps, I see...
I was expecting to have enable also the caption.
But even if i enable it by showCaption => true it is disabled by your displayOnly mode.
Prerequisites
master
branch of bootstrap-star-rating.Steps to reproduce the issue
This is a issue is still existing
#177
Thanks for adding the display caption as title mode but there is still one issue.
In my code I have the possibility to show the caption as a title, so you see the current value on hover.
But also (and this isn't possible in your version) show the caption as well.
This is needed e.g. if you create a pdf from the html code and the value of the rating is not integer but some decimal value (like 3.4 of 5).
With only the "stars" it is not correctly visible if the rating is 3.4 or 3.5 or ..
So it should be possible to also print out the caption the same way as the rating shows in input mode.
Expected behavior and actual behavior
When I follow those steps, I see...
I was expecting to have enable also the caption.
But even if i enable it by
showCaption => true
it is disabled by your displayOnly mode.bootstrap-star-rating/js/star-rating.js
Lines 256 to 259 in 67b2fbc
You shoudn't set showCaption to false automatically when displayOnly mode is enabled.
The text was updated successfully, but these errors were encountered: