You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for putting together this helpful Nova tool.
My project allows users to save phone numbers in the full 10 digit format of Canada and USA along with the 5 and 6 digit numbers for helplines and custom services. I was able to support both by using the helpful custom format tool.
->withCustomFormats('#####', '######')
I have run into a problem where saving the 5 and 6 digit numbers always inserts a + character at the beginning of the number. When the resource is edited in the future, this character is detected as a full 10 digit number and the format breaks. I would like to prevent the + character from being added to the custom formats.
Possible solutions
option flag to choose whether the + character should be inserted automatically
match the + character to the custom format
The text was updated successfully, but these errors were encountered:
Thank you for putting together this helpful Nova tool.
My project allows users to save phone numbers in the full 10 digit format of Canada and USA along with the 5 and 6 digit numbers for helplines and custom services. I was able to support both by using the helpful custom format tool.
I have run into a problem where saving the 5 and 6 digit numbers always inserts a + character at the beginning of the number. When the resource is edited in the future, this character is detected as a full 10 digit number and the format breaks. I would like to prevent the + character from being added to the custom formats.
Possible solutions
The text was updated successfully, but these errors were encountered: