Field plugin depending on other field
I'm currently working on a plugin for a SelectTree, and I wanted to check if it could rely on other fields, but it seems to vanish.
7 Replies
Can you share your form code, to show how the two fields are interacting?
I have been talking with Awcodes and it seems like i need to use Alpine to load the scripts
But not sure how its done or if possible at all.
When i replace
<div id="tree" wire:ignore></div>
with blabla
it renders perfectly, so the it seems the javascript is not getting called properly.I’ll have a PR for you shortly.
Thanks! Im gonna take a look soon
I didn't test it, but should be enough to get you on the right track.
Ah oke, lets hope i can figure it out👀
All resolved ✅