bruno icon indicating copy to clipboard operation
bruno copied to clipboard

BrnStepInputFormItem开始手动输入的BUG

Open sunguoxing0628 opened this issue 1 year ago • 0 comments

问题提交

1、BUG 描述

使用BrnStepInputFormItem组件,并设置canManualInput true时,如果默认显示0,在不删除当前0的情况下直接输入任何数字,都是显示以0开头的数字,如输入20组件显示为020,且onChanged newValue20

2、复现步骤

1.使用BrnStepInputFormItem组件,并设置canManualInput true

2.默认显示0的情况下,在光标后直接输入20(此数字为例子);

3.显示内容为020,且onChanged newValue20

3、期望行为

显示内容为20,且onChanged newValue20

4、运行环境

  • 运行设备:HUAWEI MatePad
  • 系统:Harmony OS
  • Bruno 版本:3.3.0
  • Flutter Doctor 信息
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.4 22F66 darwin-x64, locale zh-Hans-CN)
    • Flutter version 3.7.12 on channel stable at /Users/***/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4d9e56e694 (5 周前), 2023-04-17 21:47:46 -0400
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1
    • Pub download mirror https://mirrors.tuna.tsinghua.edu.cn/dart-pub
    • Flutter download mirror https://mirrors.tuna.tsinghua.edu.cn/flutter

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/***/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/***/Library/Android/sdk
    • Java binary at: /Users/***/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/222.4459.24.2221.9971841/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/***/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/222.4459.24.2221.10121639/Android Studio.app/Contents
    • 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
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

sunguoxing0628 avatar May 25 '23 01:05 sunguoxing0628