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
The issue is the date_select fields are not rendered properly i am not getting the drop-down and also initially when i click add education button 2 or 3 new fileds are rendered (date_select not rendered properly) but when i reload the page and then click add education button then its renders just one field(and that is what i want) but date_select fields are still not rendered properly
from and to are the date_select fields and i got 3 new fields jus by clicking add education once :(
The multiple insertions on one click sounds like a turbolinks problem. That would be related to where you include your cocoon.js. The rendering of the date_select is not a cocoon problem :)
Ok, including in the application.js sounds right. Where do you include the application.js in your layout? It should be in the header (head).
I have no idea what the problem is with the date-select, gathering from your screenshot, I would blame your css, as I do not see any styling for input fields. Normally date_select renders three drop-downs. You could easily verify if your HTML is correct by inspecting your html (in chrome: right-click on the location and select "Inspect Element").
If you need more help concercing the date-select, I suggest you ask it on stackoverflow.com
The issue is the date_select fields are not rendered properly i am not getting the drop-down and also initially when i click add education button 2 or 3 new fileds are rendered (date_select not rendered properly) but when i reload the page and then click add education button then its renders just one field(and that is what i want) but date_select fields are still not rendered properly
from and to are the date_select fields and i got 3 new fields jus by clicking add education once :(
here is my nested form
here is my _education_fields partial
here is my model
The text was updated successfully, but these errors were encountered: