Skip to content

[6.x] Show duplicate form action when Forms Pro is installed - #16037

Merged
duncanmcclean merged 2 commits into
6.xfrom
st-1916
Nov 25, 2026
Merged

duncanmcclean merged 2 commits into
6.xfrom
st-1916

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request fixes an issue where the Duplicate action wasn't available on the forms listing for sites using Forms Pro without Statamic Pro.

This was happening because DuplicateForm::visibleTo() only checked Statamic::pro(), even though Forms Pro lifts the single form limit.

This PR fixes it by also allowing the action when Statamic::formsProInstalled(), matching FormsController::canCreateAdditionalForms().

Amp thread: https://ampcode.com/threads/T-42302467-d3dd-4480-8b8d-0d4c16fd7a1f

@duncanmcclean
duncanmcclean merged commit fb51f56 into 6.x Nov 25, 2026
64 checks passed
@duncanmcclean
duncanmcclean deleted the st-1916 branch November 25, 2026 10:14
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.

2 participants