I have two inputs, one for Landlord Name, and second for Organization Name
Here is code
<div class="form-group">
<label>{{l("Name")}}</label>
<input #nameInput class="form-control" type="text" name="name" [(ngModel)]="landlord.name" required maxlength="32">
</div>
<div class="form-group">
<label>{{l("OrganizationName")}}</label>
<input class="form-control" type="email" name="organizationName" [(ngModel)]="landlord.organizationName" required maxlength="500">
</div>
I need to populate organizationName, when I enter value in Name field. How I can do this?