Ruby on Rails Thursday, April 11, 2019

Hey Ariel! 

Good initiative! I think it would really come handy a GIF image with a visual example of how it does. 
I suggest this because from the description I don't get how would it be the look and feel of the nested form. Of course cocoon has the same issue.
An image is a thousand words and a GIF is a thousand images. 

Congrats and keep it up. Removing JQuery dependency it's a great plus. 

On Wednesday, April 10, 2019 at 5:41:18 PM UTC-3, Ariel Juodziukynas wrote:

Hi, I want to share a gem that I'm working on.


https://github.com/arielj/vanilla-nested/



It's a replacement of the cocoon gem (dymanic nested forms) but using only vanilla javascript so no jQuery dependency. I'm already using it on one of my projects and it has a few config options to customize it for different requirements.


You can find some examples on theREADME at github (it's really similar to cocoon).


For now, it can only be added as a git repo (I'll see how I can publish it as a gem on rubygems).


gem 'vanilla_nested', git: 'https://github.com/arielj/vanilla-nested', branch: 'master'


I'd really really apreciate if you test it and can give me some feedback (ideally on github)!


Thanks!


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f373ff8a-81d9-48b4-91ef-2cb5cb0632fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment