Replies: 1 comment
-
Hey @jmbds. That looks like STI. If that's the case, Avo supports that. Check out the implementation on avodemo. https://github.com/avo-hq/avodemo/blob/main/app/models/person.rb |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Imagine we a have a class A and 2 classes B and C that inherit from class A.
class A < ApplicationRecord
class B < A
class C < A
I wanted to show every resource of class B and C in the same index view and when on create view show/hide fields according to the value of the field type (a select). Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions