avo icon indicating copy to clipboard operation
avo copied to clipboard

Add the Create button to a has_one association

Open adrianthedev opened this issue 3 years ago • 3 comments
trafficstars

The has_one association does not have the Create new button on the page. We had requests to add it!

I'd suggest adding it somewhere around this area https://github.com/avo-hq/avo/blob/main/app/components/avo/fields/has_one_field/show_component.html.erb#L7.

Before, without the button.

CleanShot 2022-06-27 at 16 10 09@2x

has_many example with create button

CleanShot 2022-06-27 at 16 10 43@2x

adrianthedev avatar Feb 15 '22 11:02 adrianthedev

This issue has been marked as stale because there was no activity for the last 60 days

github-actions[bot] avatar Apr 20 '22 03:04 github-actions[bot]

I'd really like to see this too. Looking at the roadmap it says this has been done, but I can't see it on 2.9.1.pre7?

iainbeeston avatar Jul 05 '22 12:07 iainbeeston

Not sure why it was marked as done, because it's definitely not implemented.

I don't have the time allocation to build it in the next few weeks. I started a campaign to try and get more people from the community involved, and this shouldn't be too difficult to implement. Maybe someone will pick it up.

adrianthedev avatar Jul 05 '22 12:07 adrianthedev