F
Filamentβ€’2mo ago
Patie

Form relation state

Hi, first i dont want setModel() because i need process form data manually and dont want to save it automaticlly, i have Client model with morphTo ClientPersonProfile etc.. when i do Client::with('profile').. and then i do $this->form->fill($client); i see client fields in state filled ok = in state are only filled existing form fields (like email), BUT in profile state there is full profile = all columns/model properties, not only for existing fields in group.. its possible to do in way in profile group state will be only data for existing profile group fields? thank you πŸ™
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server