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

Add proper list dropdown API for controls #2784

Closed
1 task done
adrianthedev opened this issue May 20, 2024 · 0 comments · Fixed by #3218 or avo-hq/docs.avohq.io#288
Closed
1 task done

Add proper list dropdown API for controls #2784

adrianthedev opened this issue May 20, 2024 · 0 comments · Fixed by #3218 or avo-hq/docs.avohq.io#288
Assignees
Labels

Comments

@adrianthedev
Copy link
Collaborator

adrianthedev commented May 20, 2024

Feature

We'd love to have an API where you can add a custom list dropdown to the show|edit|index_controls feature.

list do
  link_to "google", "https://google.com", ...options
  action ...options
end

Tasks

See how the block is being "read" from this PR.

Current workarounds

Add an action that has a redirect response, add that action into an actions_list and and use no_confirmation = true.
It's a hack but it works.

Screenshots or screen recordings

This list.
#2775

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants