Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
-
|
i think you want pivot fields: https://nova.laravel.com/docs/resources/relationships.html#pivot-fields |
Beta Was this translation helpful? Give feedback.
-
|
Well, I'm looking for a form field that isn't stored in the database, but I take that value and run some computations before saving maybe 3-4 other fields to the db based on that 1 value provided. |
Beta Was this translation helpful? Give feedback.
-
|
just store them in the database bro then you can use model observer to do what you want via a job or even just inside the observer methods themselves based on the value it might be possible via a field |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
When attaching a resource, I'd like to be able to add custom fields which do not actually belong on the resource but are used as a builder for the resource attachment's data. Take the below screenshot for example. Depending on the "Dynamic Integration" selected I'd like to alter which fields are visible. One might be a URL that we attempt to parse and extract data for the purpose of populating different fields..
Currently on "My Thing" in the screenshot I have this in the
fields()relationship, however the notes field does not show up.Is that I'm trying to do possible or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions