In my app I have a list and a form for changing the values in the list.
An input field from my form looks like this for example:
<input matInput id="nameInput" formControlName="name" value="{{person.name}}">
And my list displays data like this:
<h3 mat-subheader>Name</h3>
<mat-list-item> {{person.name}} </mat-list-item>
As you can see I use {{person.name}} as value in my form input field. This means the already existing value should be used as a value in the input field and it is actually being displayed correctly in the form input field.
Except it doesn't recognize that there's already input in that field, I know this cause my form disables the sumbit button unless there's more than 3 characters in the input field. How can I tell my form to use the already existing value of {{person.name}} and all it's characters?