Skip to content

Fix Country Code Dropdown, Phone Number Validation & UI Alignment Issues#170

Merged
vijaydabhi04 merged 22 commits intomainfrom
fix/issues-phone-input
Feb 24, 2026
Merged

Fix Country Code Dropdown, Phone Number Validation & UI Alignment Issues#170
vijaydabhi04 merged 22 commits intomainfrom
fix/issues-phone-input

Conversation

@vijaydabhi04
Copy link
Contributor

@vijaydabhi04 vijaydabhi04 commented Feb 23, 2026

  • Fixed country dropdown filtering to correctly show countries based on first-letter input.
  • Updated phone validation to allow flexible digit length for U.S. and India numbers.
  • Resolved 4-digit country code issues including deletion restriction and incorrect digit appending.
  • Fixed dropdown scroll behavior and scrollbar padding alignment.
  • Corrected UI alignment issues in phone field and My Account page.

j-gojariya and others added 18 commits January 1, 2026 17:41
…, enhance country detection, and improve component stories for better usability
…ey examples, and clean up unused story components for better clarity and maintainability.
…om AutoDetectFromValue examples for improved clarity and maintainability.
…ith state management for full number and selected country display.
…riable and updating dependencies in parsing logic for improved clarity and maintainability.
…by adjusting button dimensions and adding a flex container for better alignment and responsiveness.
@vijaydabhi04 vijaydabhi04 changed the title Fix/issues phone input Ui Issues in Phone Input Feb 23, 2026
@vijaydabhi04 vijaydabhi04 changed the title Ui Issues in Phone Input Fix Country Code Dropdown, Phone Number Validation & UI Alignment Issues Feb 24, 2026
@vijaydabhi04 vijaydabhi04 self-assigned this Feb 24, 2026
return [...code]
.map((char) => String.fromCodePoint(0x1f1e6 - 65 + char.charCodeAt(0)))
.join('');
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this give correct flags everytime?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this method produces correct emoji flags for all valid ISO 3166-1 alpha-2 country codes in environments that support flag rendering.

}}
>
<PopoverTrigger asChild>
<button
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

willow button. not normal button.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment addressed via the Willow UI button.

@vijaydabhi04 vijaydabhi04 merged commit f2d36ed into main Feb 24, 2026
1 check passed
@vijaydabhi04 vijaydabhi04 deleted the fix/issues-phone-input branch February 24, 2026 11:20
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.

3 participants