Skip to content

fix: prefill installer phone country code from site settings#766

Open
anonymoususer72041 wants to merge 1 commit into
opencats:masterfrom
anonymoususer72041:fix/install-wizard-prefill-local-area-code
Open

fix: prefill installer phone country code from site settings#766
anonymoususer72041 wants to merge 1 commit into
opencats:masterfrom
anonymoususer72041:fix/install-wizard-prefill-local-area-code

Conversation

@anonymoususer72041
Copy link
Copy Markdown
Contributor

This PR updates the install wizard so the default phone country calling code field is prefilled from the existing site.default_phone_country_code value when available.

Previously, the install wizard always rendered the local phone country calling code input as empty, even if a value was already stored in the database. This could cause the existing setting to be overlooked during installer runs.

@anonymoususer72041
Copy link
Copy Markdown
Contributor Author

In this exceptional case, it makes sense to wait to merge this fix until version 0.9.8.0 is released.

The Default Phone Country Code is new and not yet included in any installation. Therefore, when upgrading with the introduction of the Default Phone Country Code feature, users will have to explicitly select a Default Phone Country Code and it won't be pre-assigned with +1 and potentially overlooked.

Of course, it wouldn't be a problem if this fix were included in version 0.9.8.0 anyway.

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.

1 participant