Disable lookup button if no title is entered
This commit is contained in:
parent
576042323d
commit
c767d72926
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
<Input @bind-Value="@context.Title" />
|
||||
</SpaceItem>
|
||||
<SpaceItem>
|
||||
<Button OnClick="() => GameMetadataLookup.SearchForGame(context.Title)" Type="@ButtonType.Primary">Lookup</Button>
|
||||
<Button OnClick="() => GameMetadataLookup.SearchForGame(context.Title)" Type="@ButtonType.Primary" Disabled="@(String.IsNullOrWhiteSpace(context.Title))">Lookup</Button>
|
||||
</SpaceItem>
|
||||
</Space>
|
||||
</FormItem>
|
||||
|
|
Loading…
Add table
Reference in a new issue