This is my child.component.ts where I am emitting values to parent component
this.lat.emit(this.latitude.toString());
this.lon.emit(this.longitude.toString());
This is my parent.component.html
<ngx-map (lon)="getLon($event)" (lat)="getLat($event)" ></ngx-map>
This is my parent.component.ts where catch the emitted values
<form [formGroup]="form" (ngSubmit)="create()">
<input
status="primary"
placeholder="Longitude"
formControlName="longitude"
type="text"
nbInput
fullWidth
[value]="lon"
/>
<input
status="'primary'"
placeholder="Latitude"
formControlName="latitude"
type="text"
nbInput
fullWidth
[value]="lat"
/>
</form>
I am facing issue while html inputs via event emitter of
my perfect essay writing website's HTML.
Kindly help me out by checking my code. Thanks!