I'm trying to display a list of strings and I want the user to be able to edit the list to make changes to the object but when I view the list after modifying the input fields the changes haven't been made.
How do I bind a list of strings?
@foreach (var message in UserMessageService.GetSomeData())
{
<tr>
<td><input type="text" bind="@message.Username" value="@message.Username" onblur="SaveMessages"/></td>
<td><input type="text" bind="@message.Message" value="@message.Message" onblur="SaveMessages"/></td>
</tr>
}