whitecube / nova-flexible-content

Flexible Content & Repeater Fields for Laravel Nova
MIT License
788 stars 228 forks source link

How hard would it be to implement repeater fields as part of my template frame work (another Vue element click to create some) #390

Closed HeadStudios closed 1 year ago

HeadStudios commented 1 year ago

So.. I'm setting up a templating system where a user can select a template - I'd love to use the great nova-flexible-content as part of it. Let me explain so right now a user selects a template from a drop down and a bunch of text fields get populated... that's straightforward - but not so much with the repeater field. I've actually tried to do it from DOm (e.g. trigger click of 'Add Layout' button in particular dusk element and then fill the last form elements but.. no cigar. Everyone on Vue says don't touch the DOM.

So.. then they say fork the nova-flexible-content - I'm just wondering before I do that if there is anything I could do to like... trigger a click and then fill in the form elements that come up? I mean I know Vue someitmes allow access to functions from outside the Vue... any pointing in the right direction would be so appreciated.

Thanks!

HeadStudios commented 1 year ago

I mean I'm guessing you'd say fork it and npm it and then work on it on my local right?

HeadStudios commented 1 year ago

And I did fork it... and now I'm confused by the code..but I'm guessing you guys are working on something else now... fair play. THank you for the plugin though it's awesome. Chrs