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.
23 lines
531 B
23 lines
531 B
@implements IDisposable |
|
|
|
<FormLayoutComponent> |
|
<FormTextAreaComponent Label="JSON Data" |
|
Rows="14" |
|
Value="@BuildOrderService.AsJson()"> |
|
</FormTextAreaComponent> |
|
</FormLayoutComponent> |
|
|
|
@code { |
|
|
|
[Inject] |
|
IBuildOrderService BuildOrderService { get; set; } |
|
|
|
protected override void OnInitialized() { |
|
BuildOrderService.Subscribe(StateHasChanged); |
|
} |
|
|
|
void IDisposable.Dispose() { |
|
BuildOrderService.Unsubscribe(StateHasChanged); |
|
} |
|
|
|
} |