-
-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependent Fields not working #492
Comments
I can confirm this is indeed a problem. The field depending on another field will just disappear. |
@davinyoeun As far as I can tell, the support for field dependency was added in times of Laravel 9 and Nova 3 where Nova 4 was just released. I've tested this feature with several early versions of Nova 4 and this feature just doesn't work. The commit seems be mostly #347 Can anyone even confirm this worked with Laravel 10 / Nova 4? Or at all? I seem to get an empty |
@toonvandenbos @voidgraphics I've been diving into this problem and in dire need to catch up some time I haven't spent with Laravel and Nova the last +/- 3 years. To my understanding, Nova 4 uses an
Now So I'm just wondering, did this ever work? Did Nova 4 started splitting the requests using a PATCH request? |
My final take on this matter, more or less a proof of concept. The support for field dependency native to Nova isn't supported by the middleware The support for dependent fields can only be achieved if the native -- editI've moved the constant The modificationThe following three files from this package needs to be modified:
A new route file should be created in the project
A controller extending Novas
A definition in
The
|
I have 2 fields below:
Action:
The text was updated successfully, but these errors were encountered: