orlyapps / nova-belongsto-depend

Larave Nova BelongsTo Field with Dependcy
MIT License
182 stars 65 forks source link

Depend on same resource #52

Open DerekBuntin opened 4 years ago

DerekBuntin commented 4 years ago

I have a single table with a parent_id column, which allows me to store categories in the same table.

I have tried to use the field type to create two separate fields which depend on a separate resource, I'm assuming what I've trying to achieve with the field is not possible?

I did manage to get the two fields loading but because they are depending on the same resource the field names are the same so it doesn't work as expected.