[FormBuilderTextField]: textCapitalization don't works propertly on Vivo and Realme devices
Opened this issue · 5 comments
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
Same problem here for textCapitalization: TextCapitalization.words
, it's lowercase by default for first character
Someone can test with Flutter own widget TextFormField?
Maybe is bug in this widget, that is used by FormBuilderTextField
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.
@ShahSomething do you test this behavior on Vivo or Realme device?
I don't have a Vivo or Realme device, so can't test for now :(