dillingham / nova-ajax-select

Ajax select / child select package for Laravel Nova
MIT License
87 stars 22 forks source link

Allow multiple parents #17

Open JDiGregorio opened 4 years ago

JDiGregorio commented 4 years ago

I am using nova-ajax-select and I have a field that depends on two parent fields, another parent field can be added in some way. Currently it only allows me to do it for one, I already modified the route and it works correctly I send the data as the nova-ajax-select interprets the problem is in the field in the resource that is only taking the value of a parent.

iHwy commented 4 years ago

JDiGregorio, Did you solve this?

JDiGregorio commented 4 years ago

@iHwy I could not solve it, do you have any idea?

kdrmlhcn commented 4 years ago

Is there anyone who can solve this problem? @iHwy @JDiGregorio @dillingham

piljac1 commented 4 years ago

I'm currently working on a fork of this package which supports multiple parents, dynamic field type (text or select depending on the route response format) and an additional selected key (added the current mandatory value and display keys) to preselect a select option. I'm currently testing different cases, but if you guys would like to beta test the package let me know and I'll upload it as is !

dillingham commented 4 years ago

@piljac1 maybe contribute some PRs and I can review?

piljac1 commented 4 years ago

Sure, but I have some more testing to do and documentation to write.

rodrigoalexandrino commented 4 years ago

I'm currently working on a fork of this package which supports multiple parents, dynamic field type (text or select depending on the route response format) and an additional selected key (added the current mandatory value and display keys) to preselect a select option. I'm currently testing different cases, but if you guys would like to beta test the package let me know and I'll upload it as is !

@piljac1 can you share your version with us ? I'm also need multiple parents in some of my requests.

piljac1 commented 4 years ago

I'm currently working on a fork of this package which supports multiple parents, dynamic field type (text or select depending on the route response format) and an additional selected key (added the current mandatory value and display keys) to preselect a select option. I'm currently testing different cases, but if you guys would like to beta test the package let me know and I'll upload it as is !

@piljac1 can you share your version with us ? I'm also need multiple parents in some of my requests.

@rodrigoalexandrino I kinda put the project aside to take more time for myself and my girlfriend, but it was almost done. I will try to submit PRs in the beginning of next week because my weekend is full.

anditsung commented 3 years ago

hello.. no one update on this? if not i will try to add this


if anyone want to try it first https://github.com/anditsung/nova-ajax-select

if dont have problem maybe create a PR for it