Disable specific relationship operations on form

I'm tring to create a form for my table Endereco.
Endereco belongs to Cidade Cidade belongs to Estado Im am using 'cidade' relation just to load data from database in my 'estado_id' input, but i don't want to change anything about this relationship when sending the form. I tried to pass false as second argument of relationship() method, but it tried to delete the row instead of doing nothing. Here is the gist with my form: https://gist.github.com/JonatasBSM/4a4df444ad0b71c43fbb8ed703f4cc2b
Gist
EnderecoForm
EnderecoForm. GitHub Gist: instantly share code, notes, and snippets.
Solution:
it's working using dehydrated(false), now i'll look to another way
Jump to solution
1 Reply
Solution
JonatasBraz
JonatasBraz5mo ago
it's working using dehydrated(false), now i'll look to another way
Want results from more Discord servers?
Add your server