Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE-REQUEST] Have a way to call a custom attribute in show/edit/create #279

Open
Morzaram opened this issue Jul 15, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Morzaram
Copy link

Hey there I'm wanting to show a custom read only field where I can populate it.

For example if I have an association submitter, and they submit and event I want to show their name and email on the event show page. Is there a way to do this right now?

for example

submitter_name: %{
        type: :string,
        value: fn event->
          event.submitter.name
        end
      }

Thank you in advance.

@Morzaram Morzaram added the enhancement New feature or request label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants