I'm using email/phone field but for phone is unabl...
# ask-a-descoper
u
I'm using email/phone field but for phone is unable to take input, it going to reset again and again cc: @Atharva Joshi
d
Hi, I'm Descope's AI assistant. I've put together an initial response below based on your question. How the Email or Phone Component Works The
Email or Phone
component auto-detects whether the entered value is an email or a phone number and dynamically switches its display to match the relevant input type. This real-time detection can sometimes cause the field to reset or interfere with phone number entry — especially if the auto-detection triggers before the full number is typed. Common Causes of the Reset Loop • The component interprets partial phone input (e.g., digits without a
+
country code prefix) as an ambiguous or invalid value, causing it to reset the field state. • The Number Format setting may be actively reformatting the input mid-type, disrupting the user's entry. • Auto-detection switching between email and phone mode on each keystroke can conflict with certain browsers or input methods. Recommended Troubleshooting Steps 1. Use a dedicated Phone component — If phone-only input is needed, replace the
Email or Phone
component with the standalone
Phone
component to avoid the auto-detection logic entirely. 2. Check the Number Format setting — In your flow screen, select the phone field and toggle off Number format to prevent the field from auto-reformatting during input. For more information, you can refer to the following documentation: • Login ID Fields in Flows • Phone Number Component • Inputs
u
Before it was working fine but its breaking, although i've selected only one country code still failing
@Akash Jivane Could you please help here?
a
Hi @Uday Singh Looking into the issue.
Can you DM your projectId and also please share me your flow JSON?
u
@Akash Jivane I've dm you please check
a
@Uday Singh please share it with me as well
u
@Atharva Joshi shared
we can connect also if that works
a
Apologies for the inconvenience on this one @Uday Singh A GH issue has been raised and the team is looking into releasing a fix on priority