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]: textCapitalization don't works propertly on Vivo and Realme devices #1425

Open
2 of 7 tasks
ChandraSignzy opened this issue Sep 2, 2024 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ChandraSignzy
Copy link

ChandraSignzy commented Sep 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Package/Plugin version

9.3.0

Platforms

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

Flutter doctor

Flutter doctor
[✓] Flutter (Channel stable, 3.22.2, on Ubuntu 22.04.4 LTS 6.8.0-40-generic, locale en_US.UTF-8)
    • Flutter version 3.22.2 on channel stable at /opt/flutterLatest/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (3 months ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/chandra/Android/Sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from
      https://github.com/ninja-build/ninja/releases
    ✗ pkg-config is required for Linux development.
      It is likely available from your distribution (e.g.: apt install pkg-config), or can be downloaded from
      https://www.freedesktop.org/wiki/Software/pkg-config/

[✓] VS Code (version 1.91.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.94.0

[✓] Connected device (3 available)
    • SM M015G (mobile) • R9ZN90BSHQH • android-arm    • Android 12 (API 31)
    • Linux (desktop)   • linux       • linux-x64      • Ubuntu 22.04.4 LTS 6.8.0-40-generic
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 127.0.6533.72

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

! Doctor found issues in 2 categories.

Minimal code example

Code sample
FormBuilderTextField(
      name: variable,
      keyboardType: textInputType,
      textCapitalization:TextCapitalization.characters,
      obscureText: obfuscate,
      maxLines: null,
      autocorrect: autocorrect,
    )

Current Behavior

The keyboard is lower case on default when interacted

Noticed this bug in Vivo and Realme phone. It is working as expected in Samsung phone

Expected Behavior

should be uppercase by default as set (textCapitalization:TextCapitalization.characters)

Steps To Reproduce

Implement the given snipped and interact with the text field in vivo or realme phone.

Aditional information

@ChandraSignzy ChandraSignzy added the bug Something isn't working label Sep 2, 2024
@ChandraSignzy ChandraSignzy changed the title [FormBuilderTextField]: Keyboard doesnDefaults to an uppercase keyboard for each character. [FormBuilderTextField]: Keyboard doesn't Default to an uppercase keyboard for each character. Sep 2, 2024
@benjamincombes
Copy link

Same problem here for textCapitalization: TextCapitalization.words, it's lowercase by default for first character

@deandreamatias
Copy link
Collaborator

Someone can test with Flutter own widget TextFormField?
Maybe is bug in this widget, that is used by FormBuilderTextField

@ShahSomething
Copy link
Contributor

Someone can test with Flutter own widget TextFormField? Maybe is bug in this widget, that is used by FormBuilderTextField

Checked this on Android. Flutter's TextFormField works as expected. The issue lies within FormBuilderTextField.

@deandreamatias
Copy link
Collaborator

@ShahSomething do you test this behavior on Vivo or Realme device?

@deandreamatias deandreamatias changed the title [FormBuilderTextField]: Keyboard doesn't Default to an uppercase keyboard for each character. [FormBuilderTextField]: textCapitalization don't works propertly on Vivo and Realme devices Dec 26, 2024
@deandreamatias deandreamatias added the help wanted Extra attention is needed label Dec 26, 2024
@deandreamatias
Copy link
Collaborator

I don't have a Vivo or Realme device, so can't test for now :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants