Preserve subdomain input when selecting a base domain #992

Closed
opened 2026-04-05 18:05:30 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @Pallavikumarimdb on 8/28/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

This PR resolves #1373 and #1369 , where a subdomain entered before selecting a base domain was not saved when creating or editing a resource.

Changes introduced:

  • Users can safely type a subdomain before choosing a base domain without losing input.
  • Subdomain change and base domain selection now both trigger validation → ensuring state stays in sync regardless of order of operations.
  • Improved subdomain validation to ensure consistency across inputs.
  • The subdomain is sanitized (invalid characters removed).
  • If compatible, it is preserved and combined with the base domain.

How to test?

*Originally created by @Pallavikumarimdb on 8/28/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description This PR resolves #1373 and #1369 , where a subdomain entered before selecting a base domain was not saved when creating or editing a resource. **Changes introduced:** - Users can safely type a subdomain before choosing a base domain without losing input. - Subdomain change and base domain selection now both trigger validation → ensuring state stays in sync regardless of order of operations. - Improved subdomain validation to ensure consistency across inputs. - The subdomain is sanitized (invalid characters removed). - If compatible, it is preserved and combined with the base domain. ## How to test?
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#992