diff --git a/lib/piv/views/manage_key_dialog.dart b/lib/piv/views/manage_key_dialog.dart index fdb2e6ae..28389760 100644 --- a/lib/piv/views/manage_key_dialog.dart +++ b/lib/piv/views/manage_key_dialog.dart @@ -254,6 +254,11 @@ class _ManageKeyDialogState extends ConsumerState { ), ), textInputAction: TextInputAction.next, + onChanged: (_) { + setState(() { + // Update length + }); + }, onSubmitted: (_) { if (currentLenOk && newLenOk) { _submit();