-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
here is my code: but i'm unable to find "readOnly" property to set
ReactivePhoneFormField<String>(
key: ValueKey(controlName),
formControlName: controlName.name,
validationMessages: validationMessages,
inputFormatters: inputFormatters,
decoration: decoration ??
InputDecoration(
hintText: hint?.tr(),
enabled: false, //!readOnly,
),
countrySelectorNavigator: CountrySelectorNavigator.modalBottomSheet(
height: 300.h,
countries: [
...allowedCountryCodes.keys,
],
),
isCountryButtonPersistent: true,
isCountrySelectionEnabled: false,
valueAccessor: CountryPhoneValueAccessor(),
style: context.theme.textTheme.bodyLarge,
countryButtonStyle: CountryButtonStyle(
textStyle: context.theme.textTheme.bodyLarge,
),
autofillHints: [AutofillHints.telephoneNumber],
),Whereas the parent library has that, "enabled" property.
https://pub.dev/documentation/phone_form_field/latest/phone_number_input/PhoneFormField-class.html
Metadata
Metadata
Assignees
Labels
No labels