Skip to content

Added allow_remove option to has_many DSL#5683

Open
mashedkeyboard wants to merge 1 commit intoactiveadmin:masterfrom
mashedkeyboard:patch-1
Open

Added allow_remove option to has_many DSL#5683
mashedkeyboard wants to merge 1 commit intoactiveadmin:masterfrom
mashedkeyboard:patch-1

Conversation

@mashedkeyboard
Copy link

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.
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