aesmail / aesmail/kaffy

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

Đang mở
#279 0 bình luận 0 reaction 1 người được giao Được @aesmail nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Elixir
Star
1.4k
Fork
171
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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
```elixir
submitter_name: %{
type: :string,
value: fn event->
event.submitter.name
end
}
```

Thank you in advance.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.