How to Make Prefix Text Constant (Non-Editable) in TextField?

Widgets & Design

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.

What have you tried so far?

Tried setting +1 as the initial value of the TextField, but users can still remove or overwrite it.

Did you check FlutterFlow's Documentation for this topic?
No
2
1 reply