Skip to content
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

Some dots appear below the stars after click #184

Closed
Daemoonn opened this issue Apr 17, 2018 · 1 comment
Closed

Some dots appear below the stars after click #184

Daemoonn opened this issue Apr 17, 2018 · 1 comment

Comments

@Daemoonn
Copy link

Daemoonn commented Apr 17, 2018

image

http://plugins.krajee.com/star-rating-demo-basic-usage

In my chrome browser, some dots appear under the stars after my click, and of course they appear in my code too. I think it's maybe the head of the decimal. I suggest that the default usage is better to be something like

<input type="hidden" id="input-2" name="input-2" class="rating rating-loading" data-min="0" data-max="5" data-step="0.1">

Add type="hidden" to clear the dots.

@kartik-v
Copy link
Owner

kartik-v commented Sep 15, 2018

The input is purposely not hidden (via the type or the style) - to allow required attribute validation by the browser. This can be seen in basic demo # 9. Your issue will be updated with a separate fix.

kartik-v added a commit that referenced this issue Sep 15, 2018
kartik-v added a commit that referenced this issue Sep 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants