Disable Label textbox when spend whole coins
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/SendTabView.xaml
<StackPanel DockPanel.Dock="Bottom" Margin="0 10" Spacing="10" HorizontalAlignment="Left">
<TextBlock>Note that, you must select coins you want to spend from.</TextBlock>
<controls:ExtendedTextBox Text="{Binding Address}" Watermark="Address" UseFloatingWatermark="True" />
- <controls:ExtendedTextBox Text="{Binding Label}" Watermark="Label" UseFloatingWatermark="True">
+ <controls:ExtendedTextBox Text="{Binding Label}" Watermark="Label" UseFloatingWatermark="True" IsEnabled="{Binding !IsMax}">
<ToolTip.Tip>
Start labelling today and your privacy will thank you tomorrow!
</ToolTip.Tip>

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/SendTabViewModel.cs
@@ -93,7 +93,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
try
{
Password = Guard.Correct(Password);
- if (string.IsNullOrWhiteSpace(Label))
+ if (!IsMax && string.IsNullOrWhiteSpace(Label))
{
throw new InvalidOperationException("Label is required.");
}

Disable Label textbox when spend whole coins