How to make Select field disable to edit but it must send the data.
I have a use case, where there are two parent child dropdown, If I select the item on parent field then the child will auto fill. I want to disable to edit child field but send the data while submit the form.
7 Replies
I think
dehydrated(true)
does that.
@Dennis Koch Thank you ! for the reply but still Not working
The issue isn't
->disabled()
but ->relationship()
. Those save automatically and don't include the data.How can I achieve my objective?
I got the same problem
Still not figuring out
Why not:
Tbh I don't know if the modifyQueryUsing accepts other params other than the Builder $query