Attribute to make the component uneditable
Closed this issue · 1 comments
jamesonvparker commented
Hi! I love this start rating component! Great work. I was playing around with it and noticed that I can't seem to create for example a reviews section that just shows the ratings someone else provided. I tried using disabled, but that just shows the outline of the stars and not the provided filled amount. I'll try and create a work around for this, but wanted to mention it because I think that's all it's missing to be a complete solution. Thanks!
jamesonvparker commented
I ended up just using your custom wrapper class to add
.icon-disabled {
pointer-events: none;
}
So problem solved for me :-)