-
-
Notifications
You must be signed in to change notification settings - Fork 403
Description
Description
When entering a profile in the Group Registration block, the top Phone Country Code is saved to the profile rather than the selected country code.
Actual Behavior
If a user selects a different phone country code than the top option, that selection is not saved to their profile. Instead whatever the top value of the Phone Country Code defined value is saved to the profile.
An alternative country code is added and put at the bottom of the list of defined values:
Then on a Group Registration the alternative country code is selected:
After checking the profile, the top country code is saved on the profile instead of the selected country code:
Expected Behavior
Selected Phone Country Code should be saved to the profile.
Steps to Reproduce
Step 1: Set up a new country code
Under "Phone Country Code" defined type add a new value with following:
Value = 61
Description = Australia
Match Expression = ^([2-5]\d{2})(\d{3})(\d{3})$
Format Expression = $1 $2 $3
Step 2: Navigate to the Connect page and select a Small Group to register
When registering ensure the alternative country code is selected:
Change the profile details to ensure a new profile is made.
Use this number that follows formatting requirements for 61 numbers = 400000006
Step 3: Edit the newly created profile and scroll to contact details and check mobile number country code.
Issue Confirmation
- Perform a search on the Github Issues to see if your bug is already reported.
- Reproduced the problem on a fresh install or on the demo site.
Rock Version
17.5
Client Culture Setting
en-AU