blendbyte / nova-items-field

Laravel Nova array items field with sorting & validation
MIT License
13 stars 9 forks source link

use #6

Closed vrgenl closed 1 year ago

vrgenl commented 1 year ago

Awesome you guys took over nova-items-fields

I have a small addition, the JS form field supports DependendFormField with currentField but you guys haven't added it to the Items.php field

use Laravel\Nova\Fields\SupportsDependentFields;

class Items extends Field
{
    use SupportsDependentFields;
}

That way we can use ->dependsOn()

bashgeek commented 1 year ago

Thanks!