-
-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Is there an existing issue for this?
- I have searched the existing issues
Package/Plugin version
2.0.1
Platforms
- Android
- iOS
- Linux
- MacOS
- Web
- Windows
Flutter doctor
[√] Flutter (Channel stable, 3.19.2, on Microsoft Windows [Version 10.0.22621.3737], locale en-AE)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses
to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.36)
[√] Android Studio (version 2024.1)
[√] Connected device (4 available)
[√] Network resources
! Doctor found issues in 1 category.
Minimal code example
FormBuilderPhoneField(
name: 'phone_number',autovalidateMode: AutovalidateMode.always,
validator: FormBuilderValidators.compose([
FormBuilderValidators.required(
errorText: ''),
FormBuilderValidators.numeric(
errorText: ''),
]),
),
Current Behavior
It is not validating phone number depending on country code selected.
Expected Behavior
It should validating phone number depending on country code selected.
Steps To Reproduce
FormBuilderPhoneField(
name: 'phone_number',autovalidateMode: AutovalidateMode.always,
validator: FormBuilderValidators.compose([
FormBuilderValidators.required(
errorText: ''),
FormBuilderValidators.numeric(
errorText: ''),
]),
),
Aditional information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status