Bind lookup on input. Fixes #16

pull/19/head
Pat Hartl 2023-04-02 13:39:38 -05:00
parent b28f4f78b1
commit d3887e6d8e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
<Space Style="display: flex"> <Space Style="display: flex">
<SpaceItem Style="flex-grow: 1"> <SpaceItem Style="flex-grow: 1">
<Input @bind-Value="@context.Title" /> <Input @bind-Value="@context.Title" BindOnInput="true" />
</SpaceItem> </SpaceItem>
<SpaceItem> <SpaceItem>
<Button OnClick="() => GameMetadataLookup.SearchForGame(context.Title)" Type="@ButtonType.Primary" Disabled="@(String.IsNullOrWhiteSpace(context.Title))">Lookup</Button> <Button OnClick="() => GameMetadataLookup.SearchForGame(context.Title)" Type="@ButtonType.Primary" Disabled="@(String.IsNullOrWhiteSpace(context.Title))">Lookup</Button>