dillingham / nova-attach-many

BelongsToMany create / edit form component for Nova
MIT License
271 stars 107 forks source link

Can't fill default values on create #90

Open 29avet1 opened 3 years ago

29avet1 commented 3 years ago

I couldn't attach default values to form. So, I had overwritten the package and added the small code, and it started taking default values on creation. Now when I provide ->default([array]), where array is list of selected ids (like [1,2,3]), it works. image

dbpolito commented 2 years ago

Thanks @29avet1 , this indeed fixed the problem, i opened a PR https://github.com/dillingham/nova-attach-many/pull/95 with your solution. 👍

ArmeniaH commented 10 months ago

@dillingham do you have plans to merge this?