Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FormBuilderTextField]: TextInputType.emailAddress - not working #1374

Open
2 of 7 tasks
Poloten opened this issue Mar 19, 2024 · 0 comments
Open
2 of 7 tasks

[FormBuilderTextField]: TextInputType.emailAddress - not working #1374

Poloten opened this issue Mar 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Poloten
Copy link

Poloten commented Mar 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

9.2.1

Platforms

  • Android
  • iOS
  • Linux
  • MacOS
  • Web
  • Windows

Flutter doctor

Flutter doctor
flutter doctor -v
[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.14393], locale ru-RU)
    • Flutter version 3.19.3 on channel stable at C:\Users\SSM\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (12 days ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\SSM\AppData\Local\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = C:\Users\SSM\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio1\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.1)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34009.444
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Program Files\Android\Android Studio1
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[√] VS Code (version 1.87.2)
    • VS Code at C:\Users\SSM\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[√] Connected device (4 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)          • windows       • windows-x64    • Microsoft Windows [Version 10.0.14393]
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 122.0.6261.129
    • Edge (web)                 • edge          • web-javascript • Microsoft Edge 118.0.2088.76

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Minimal code example

Code sample
FormBuilderTextField(
    name: 'email',
    // initialValue: email,
    autofocus: true,
    decoration: const InputDecoration(labelText: 'E-Mail'),
    textInputAction: TextInputAction.next,
    keyboardType: TextInputType.emailAddress,
  ),

Current Behavior

Keyboard not changed.
When I use native TextField - it's work correctly.

TextField(keyboardType: TextInputType.emailAddress )

Expected Behavior

Keyboard changed to show '@' and '.'

Steps To Reproduce

place keyboardType: TextInputType.emailAddress in FormBuilderTextField. Click filed - keyboard not changed. It's reproduce on real device and on android emulator.

Aditional information

No response

@Poloten Poloten added the bug Something isn't working label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant