Skip to content

Added allow_remove option to has_many DSL - #5683

Open
cpf-sh wants to merge 1 commit into
activeadmin:masterfrom
cpf-sh:patch-1
Open

cpf-sh wants to merge 1 commit into
activeadmin:masterfrom
cpf-sh:patch-1

Conversation

@cpf-sh

@cpf-sh cpf-sh commented Feb 21, 2019

Copy link
Copy Markdown

Allows the "remove nested resource" button in a form's nested resources to be disabled from within the DSL. This is useful in situations where you have a has_many relationship, but you still want to require at least one resource to be included, as you can force there to be at least one that appears in the form.

Allows the "remove nested resource" button to be disabled from within the DSL.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant