Skip to content

No way to make PhoneNumberTextField prefix text uneditable #860

@ChopinDavid

Description

@ChopinDavid

We are wanting to make the prefix text uneditable, i.e. so that it appears as part of the flag button and not the text field.

This would make the text field look more similar to the top text field in the following image, which is the UI our team is more used to seeing:

Image

I have a fork that accomplishes this, but we were curious whether this is something you all would like merged in. If so, we would like to know how configurable it should be, or how one would go about configuring it. We assume a withNonEditablePrefix property on PhoneNumberTextField would suffice, but we're curious your thoughts.

For reference, this is what it would look like:

ScreenRecording_07-17-2025.14-18-21_1.MP4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions