My goal is to create a DropdownBox that will automatically fill input fields based on the selected value. For example, selecting "Arnold" from the dropdown will populate another textbox with "Laptop". How can I accomplish this?
{ name:'Arnold', item:'Laptop' }
The dropdown includes the option for Name
, but once "Arnold" is selected, the corresponding input field is populated with "Laptop". Here is the code I have so far: https://stackblitz.com/edit/mat-dialog-example-qzg1ea