Make sure controller gets updated when manually typing new mgmt key

This commit is contained in:
Dennis Fokin 2023-11-09 14:15:30 +01:00
parent 533c2d26d7
commit a3c160a001
No known key found for this signature in database
GPG Key ID: 870B88256690D8BC

View File

@ -254,6 +254,11 @@ class _ManageKeyDialogState extends ConsumerState<ManageKeyDialog> {
),
),
textInputAction: TextInputAction.next,
onChanged: (_) {
setState(() {
// Update length
});
},
onSubmitted: (_) {
if (currentLenOk && newLenOk) {
_submit();