Use with Accessors? #540
Answered
by
danharrin
titantwentyone
asked this question in
Help
-
I have a calculated field on my Model
I want to display this on the edit screen if possible. I tried the following in my resource:
But the field is empty. I looked at the Placeholder component also but coiuldn't see a way to access the current record - only an arbitrary piece of data. Any ideas on how to achieve this? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
danharrin
Aug 23, 2021
Replies: 1 comment 1 reply
-
You could try a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
titantwentyone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could try a
View
field, and then render$formComponent->getLivewire()->record->accessor
in Blade or something? You'll be able to do this with a placeholder component in v2.