Comments (3)
Note: you must use a character / HTML entity code for the symbol (as per your icon font) and NOT THE CSS class (check the docs). You can cross check this entity code in the bootstrap CSS file and get it. For example you can render a bootstrap asterisk by:
<input id="input-21" value="0" class="rating" data-symbol="*" data-size="xl" >
Or you can use a normal qwerty keyboard character like below
<input id="input-21" value="0" class="rating" data-symbol="*" data-size="xl" >
A couple of more additional symbol examples have been added to the demo page. Have a look.
from bootstrap-star-rating.
Thanks a lot for your blazing fast answer.
It works great
from bootstrap-star-rating.
Yes... remember if passing symbol via javascript you must properly encode and send the HTML entity - else it will be parsed wrongly.
from bootstrap-star-rating.
Related Issues (20)
- problem with modal form HOT 1
- How to change to displayOnly using jquery? HOT 1
- issue with renderAjax bootstrap modal popup
- theme not being picked up from rating container options HOT 1
- defaults language unable to set HOT 1
- Is it supported for bootstrap 4.x ? HOT 1
- Correct rating base input positioning
- Enhancements to support BS 5.x (and 4.x/3.x)
- Revamp themes - set default theme to Krajee SVG
- Correct keyboard arrow keys behavior for RTL oriented inputs
- Enhance caption badge styles
- Dropping jQuery dependency. HOT 1
- Module handling seems wrong HOT 2
- problem css class ".rating-input" line 37 HOT 2
- stars are filled in mobile (RTL) HOT 1
- olor HOT 1
- Hearts not working with jquery above version 2 HOT 1
- filling one star or icon instead of all previous ones HOT 1
- Tag version 4.1.3
- nl.js references itself as <LANG> instead of as 'nl'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-star-rating.