IamAStar_1
IamAStar_1
FFilament
Created by IamAStar_1 on 10/18/2023 in #❓┊help
How to add relationship form fields on custom pages
I’ve figured out the answer. Instead of relationship, I added relationship name example. make(‘user_contact.company’) Inside save method, $data = $this->form->getState(); auth()->user()->update($data); auth()->user()->user_contact->update($userContact); Exception handling and sending success notification is implemented in save()
3 replies