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
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
