I'm trying to implement a phone number input field in FlutterFlow where the country code prefix (e.g., +1
) is always visible and cannot be deleted or modified by the user. The user should only be able to input the rest of the number (e.g., 1234567890
) after the fixed prefix.
How to Make Prefix Text Constant (Non-Editable) in TextField?
Widgets & Design
Tried setting +1
as the initial value of the TextField
, but users can still remove or overwrite it.
No
2
1 reply