Bind lookup on input. Fixes #16
parent
b28f4f78b1
commit
d3887e6d8e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue