Skip to content

Field displayed on the dropdown when attach #3349

Closed Answered by Paul-Bob
vianeyHA asked this question in Help
Discussion options

You must be logged in to vote

Hi @vianeyHA

Avo renders the label for the select options on the attach modal using the self.title from the target resource.

The example that you shared uses self.title = :tiny_name from the target (Avo::Resources::Comment) resource.

tiny_name is a method (but could be directly an attribute) on the Comment model.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Paul-Bob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants