You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
516 B
24 lines
516 B
@inject IBuildOrderService buildOrderService |
|
|
|
@implements IDisposable |
|
|
|
<FormLayoutComponent> |
|
<FormTextAreaComponent Label="JSON Data" |
|
Rows="14" |
|
Value="@buildOrderService.AsJson()"> |
|
</FormTextAreaComponent> |
|
</FormLayoutComponent> |
|
|
|
@code { |
|
|
|
protected override void OnInitialized() |
|
{ |
|
buildOrderService.Subscribe(StateHasChanged); |
|
} |
|
|
|
void IDisposable.Dispose() |
|
{ |
|
buildOrderService.Unsubscribe(StateHasChanged); |
|
} |
|
|
|
} |