area17 / twill

Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
https://twillcms.com
Apache License 2.0
3.71k stars 567 forks source link

Add connectedTo for inline repeater and documentation about connectedTo #2565

Closed Tofandel closed 3 months ago

Tofandel commented 5 months ago

Add the connectedTo method to InlineRepeater because it was missing and document the connectedTo method for the FormBuilder

I'm still thinking connected fields would be better as another Form component because this is the only one not respecting the convention (all other components have their own class) and it creates disparity in the form builder, it also doesn't allow to encapsulate multiple fields at once or views because of this

I might PR the addition of the service with deprecation of the connectedTo later on