You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
so this add row but star rating is not shown I am attaching snapshot
I have this type of design but when I click on Add A Task it does not render star-rating div it shows like this
I have included this in my js file
$(document).on('nested:fieldAdded', function(event){
// this field was just inserted into your form
var field = event.field;
// it's a jQuery object already! Now you can find date input
var star = field.find('.star-rating');
// and activate datepicker on it
star.raty({
targetType : 'score',
targetKeep : true
});
})
but still its not working.
Please guide how to render that div in nested-form.
The text was updated successfully, but these errors were encountered:
Does the javascript really fire on nested:fieldAdded ? If you add a line alert('it fires'), do you see the message when you click the add a task button ?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi I am using
gem "nested_form"
and in my view I have given like thisIn js file I have I have given this
to show star rating I have used
so this add row but star rating is not shown I am attaching snapshot
I have this type of design but when I click on
Add A Task
it does not render star-rating div it shows like thisI have included this in my js file
but still its not working.
Please guide how to render that div in nested-form.
The text was updated successfully, but these errors were encountered: