mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
## Problem When creating a project, if users select a region then change the compute size, the region is reset. ## Solution Only applies the recommended region if users have not selected one explicitly. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Improved form state handling by extracting and using granular form operations for more reliable, consistent updates and reduced unnecessary re-renders. * **Bug Fixes** * Auto-fill and region recommendation behavior is gentler: fields are only auto-populated when untouched, region defaults avoid overwriting edits, region errors reset defaults safely, and empty recommendations are normalized to an empty string. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Ali Waseem <waseema393@gmail.com>