Open
Description
Describe the bug
Using polymorphic association on clusters do not work well on form, there is a UI glitch:
https://www.loom.com/share/57c6780cc7124aa9909395fb837a60a0
Steps to use in the reproduction repository
Create a form with this type of cluster:
cluster do
field :client, as: :belongs_to, can_create: true,
polymorphic_as: :client,
types: [::Contact, ::Company], searchable: true
field :client_intermediary, as: :belongs_to, can_create: true,
polymorphic_as: :client_intermediary,
types: [::Contact, ::Company], searchable: true
end
System configuration
Avo version:
3.19.3
Rails version:
rails (8.0.2)
License type:
- Community
- Pro
- Advanced
Are you using Avo monkey patches, overriding views or view components?
- Yes. If so, please post code samples.
- No
Screenshots or screen recordings
See Loom
Impact
- [] High impact (It makes my app un-usable.)
- Medium impact (I'm annoyed, but I'll live.)
- Low impact (It's really a tiny thing that I could live with.)
Urgency
- High urgency (I can't continue development without it.)
- Medium urgency (I found a workaround, but I'd love to have it fixed.)
- Low urgency (It can wait. I just wanted you to know about it.)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To Do