has_one vs has_many: how to limit "Add new" to only accept 1 nested object #4614
Closed
Description
Looking through a lot of comments/issues related to this, I couldn't find the solution. I have used the has_many
feature in AA to build out a form. But, the underlying domain has only 1 object (its a belongs_to/has_one
relationship. Is there a way to limit the number of times the user can click on "Add new" for this nested form?
Metadata
Assignees
Labels
No labels