updated rubric editor to be live

This commit is contained in:
2023-08-11 18:09:15 -06:00
parent b1d5567902
commit 5159861449
6 changed files with 161 additions and 106 deletions

View File

@@ -85,10 +85,7 @@
}
private string? currentDescription { get; set; } = null;
private void OnInputChanged(ChangeEventArgs e)
{
SaveAssignment(Assignment with { Description = e.Value?.ToString() ?? "" });
}
}
@@ -187,7 +184,7 @@ else
class="form-control"
rows=12
@bind="currentDescription"
@oninput="OnInputChanged"
@oninput="@((e) => SaveAssignment(Assignment with { Description = e.Value?.ToString() ?? "" }))"
/>
</div>
<div class="col">