Skip to content

Refactor forms in various management pages to include specific form IDs for better handling of submissions#24816

Merged
yagmurcelk merged 2 commits intorel-10.0from
Blazorise-Form-Submit
Feb 6, 2026
Merged

Refactor forms in various management pages to include specific form IDs for better handling of submissions#24816
yagmurcelk merged 2 commits intorel-10.0from
Blazorise-Form-Submit

Conversation

@maliming
Copy link
Member

@maliming maliming commented Feb 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 5, 2026 13:28
@maliming maliming added this to the 10.0-patch-final milestone Feb 5, 2026
@maliming maliming requested a review from yagmurcelk February 5, 2026 13:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds explicit form IDs to modal forms in various management pages and associates SubmitButtons with their respective forms using the Form attribute. This improves form handling by explicitly linking submit buttons to their target forms, which is particularly useful when multiple forms exist on a page or when buttons are outside the form element structure.

Changes:

  • Added unique IDs to Create and Edit modal forms in Tenant Management, User Management, and Role Management pages
  • Updated corresponding SubmitButton components to reference their forms via the Form attribute
  • Partially updated the Send Test Email modal in Email Settings (form ID added but button not updated)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
modules/tenant-management/src/Volo.Abp.TenantManagement.Blazor/Pages/TenantManagement/TenantManagement.razor Added id attributes to CreateTenantForm and EditTenantForm, and updated SubmitButtons to reference these forms
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor Added id attribute to SendTestEmailForm (but button not updated to SubmitButton component)
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/UserManagement.razor Added id attributes to CreateUserForm and EditUserForm, and updated SubmitButtons to reference these forms
modules/identity/src/Volo.Abp.Identity.Blazor/Pages/Identity/RoleManagement.razor Added id attributes to CreateRoleForm and EditRoleForm, and updated SubmitButtons to reference these forms

@yagmurcelk yagmurcelk merged commit 2d993a8 into rel-10.0 Feb 6, 2026
3 checks passed
@yagmurcelk yagmurcelk deleted the Blazorise-Form-Submit branch February 6, 2026 10:02
@yagmurcelk yagmurcelk restored the Blazorise-Form-Submit branch February 6, 2026 10:03
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.

3 participants