GinoPane
GinoPane

Hi! I wanted to be able to create a new post category while being on Post page, e.g. without going to dedicated Categories page. I've extended Rainlab's PostsController with 'Backend.Behaviors.RelationController', added relevant configs for categories and ended up with this:

image

And it works perfectly, but looks a little "heavy" Is it possible somehow to keep initial checkbox list but at the same time add a button to add new categories with ajax? It is probably possible using partials with buttons with AJAX handlers attached, but will they update relevant lists too (and fields with taglist type)?

1-1 of 1