Comments (7)
Sounds like you forgot to add the javascript. please double check that you have it included it on your page. (you should have both jquery and rating.js on the page)
from starratingbundle.
from starratingbundle.
ok, can you look on the rendered webpage in your browser and see if there are any page assets that 404 or any javascript execution errors output to your browser's console.
if everything has loaded correctly and you see no javascript errors after page load, then it's possible that there is a naming collision with something else on the page.
in your browser's developer tools, find the js block below:
var labelWasClicked = function labelWasClicked(){
var input = $(this).siblings().filter('input');
input.val($(this).attr('data-value'));
}
and put a breakpoint on the var input = $(this).siblings().filter('input');
if the breakpoint isn't triggered then that means the listener isn't set up right. I would need to see your html output in order to tell you what's wrong at that point.
if the breakpoint is triggered and it's still not working properly, my best guess it that you have some other js working on the same block
from starratingbundle.
I let you know on sunday, I am not in the computer anymore today and saturday. Thanks for your really fast response.
from starratingbundle.
I just put my hands on the project again today and it is working fine :s Probably was something cached. Sorry for the inconveniences
from starratingbundle.
@sobha-radhakrishnan what version of font awesome and symfony are you using?
from starratingbundle.
@sobha-radhakrishnan specific symfony 2 version please.
from starratingbundle.
Related Issues (16)
- Label appearing twice HOT 5
- Stars Not showing HOT 5
- it is possible to display stars on webpage HOT 4
- still works with Symfony 2? HOT 6
- Render half star HOT 1
- Rectangles instead of stars HOT 2
- problem HOT 7
- Pass rate value into entity HOT 1
- Issue in installation HOT 1
- Symfony 4 template not found exception HOT 1
- Question: Is this bundle still maintained
- Read only field HOT 2
- This bundle will be updated to symfony 3? HOT 2
- Could not load type "AppBundle\Form\RatingType" HOT 3
- Is it possible to use it in a Handlebars file ? HOT 1
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 starratingbundle.