Hmtl:
<input type="text" class="form-control" placeholder="Invoice No" [value]="invoice_input.value.inv_no_form.prefix"/>
typescript:
invoice_input = new FormGroup({
customer_name: new FormControl(''),
place_of_supply: new FormControl(''),
inv_no_form: new FormGroup({
prefix: new FormControl(''),
inv_start_no: new FormControl(''),
}),
})
How to display both prefix and inv_start_no key values in single input tag of html