Added subscription back, remove two way binding
MODIFY
WalletWasabi.Gui/Tabs/WalletManager/RecoverWalletView.xaml
WalletWasabi.Gui/Tabs/WalletManager/RecoverWalletView.xaml
</StackPanel>
<controls:ExtendedTextBox Text="{Binding WalletName}" Watermark="Wallet Name" UseFloatingWatermark="True" />
<controls:NoparaPasswordBox Password="{Binding Password}" Watermark="Password" UseFloatingWatermark="True" />
- <controls:ExtendedTextBox Text="{Binding MnemonicWords}" Watermark="Recovery Words" UseFloatingWatermark="True" CaretIndex="{Binding CaretIndex, Mode=TwoWay}">
+ <controls:ExtendedTextBox Text="{Binding MnemonicWords}" Watermark="Recovery Words" UseFloatingWatermark="True" CaretIndex="{Binding CaretIndex}">
<i:Interaction.Behaviors>
<behaviors:SuggestionBehavior SuggestionItems="{Binding Suggestions}" />
</i:Interaction.Behaviors>

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/RecoverWalletViewModel.cs
WalletWasabi.Gui/Tabs/WalletManager/RecoverWalletViewModel.cs
@@ -106,6 +106,14 @@ namespace WalletWasabi.Gui.Tabs.WalletManager
}
});
+ this.WhenAnyValue(x => x.CaretIndex).Subscribe(_ =>
+ {
+ if (CaretIndex != MnemonicWords.Length)
+ {
+ CaretIndex = MnemonicWords.Length;
+ }
+ });
+
_suggestions = new ObservableCollection<SuggestionViewModel>();
}

Added subscription back, remove two way binding