We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b08c7c commit c659c86Copy full SHA for c659c86
1 file changed
AudioCuesheetEditor/Shared/Cuesheet/CuesheetData.razor
@@ -42,7 +42,6 @@ along with Foobar. If not, see
42
</MudForm>
43
}
44
@code {
45
- //TODO: Undoing & Redoing the audiofile doesn't set the validation error correctly
46
[CascadingParameter]
47
public Cuesheet? Cuesheet { get; set; }
48
@@ -63,12 +62,11 @@ along with Foobar. If not, see
63
62
64
65
66
- protected override async Task OnAfterRenderAsync(bool firstRender)
+ protected override void OnParametersSet()
67
{
68
- await base.OnAfterRenderAsync(firstRender);
69
- if (form != null)
+ base.OnParametersSet();
+ if (form?.IsTouched == true)
70
71
- await form.Validate();
72
SetAudiofileValidationText();
73
74
0 commit comments