-
-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum value threshold validation #145
Comments
You need to read the documentation to understand how the above setting will work. Check the star highlight logic section of the document to understand. |
No, that's not the point. You just can't make configuration that works with minimum 1 and maximum 5. I need one star always to be filled, this is what "minimum 1" actually means. And it is not possible with current version of plugin. It only can start from "0". It is common option. So I wish it could be possible without rewriting whole JS plugin. |
As I mentioned the star highlight logic section covers and controls how a star is highlighted. This is very important for determining fractional highlight of stars if you need for example 1/4th of a star to be highlighted (for The The The If you have understood that, you can still achieve what you need through several ways:
Or
Or
|
Well it is up to you to decide. I just found it inconvenient having to do so much rewriting or adding code to plugin, to achieve behavior, which is default on other plugins. I wish it could be possible with some option. As for now, it is not possible to do with just options. It will be cool if you provide that option in future. Thanks for the plugin, at any rate it saves developers time. |
The options already exist in controlling this like any native HTML input (e.g. value validation of a number input). I may still try to add an enhancement for setting a minimum value threshold that will not allow users to rate below this value - so that it becomes even more easier. |
With this configuration
plugin is calculating wrong star hovering width.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: