From 78c460da23204a3632a51e58b78d6a4f6295bcc7 Mon Sep 17 00:00:00 2001 From: paulo Date: Thu, 4 Apr 2024 19:53:23 +0800 Subject: [PATCH] max length --- lib/screens/config/bt_config.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/screens/config/bt_config.dart b/lib/screens/config/bt_config.dart index 5a06fab..2bc93f9 100644 --- a/lib/screens/config/bt_config.dart +++ b/lib/screens/config/bt_config.dart @@ -84,6 +84,7 @@ class _BtConfigScreenState extends ConsumerState { Config_BluetoothConfig_PairingMode.FIXED_PIN) TextFormField( controller: _pinController, + maxLength: 6, textInputAction: TextInputAction.done, keyboardType: TextInputType.number, onChanged: (value) {