Simplifying computed field

I'm currently using a Placeholder field that calls $get on 8 fields to calculate a new value. This also involves calling ->live() on each field. Are there any shortcuts to this that I'm missing? i.e. getting all data values at once or a mirror of the current state of the $record? As a secondary, related question: I may have to create a public version of this form as well, and I'm not sure yet, but it might be easier for me to just create a livewire component myself for that due to some very specific UI constraints. Is it simple to juse re-use that Livewire component inside the Filament admin panel in place of the Create & Edit forms or should I just manage an "admin" version of this form as well as the public-facing version?
0 Replies
No replies yetBe the first to reply to this messageJoin