You can bind a selected value from the drop-down list using the ngModel and edit it inside the text box or numeric input box. The selected item text and value can be got using the change event of the drop-down list through the args.itemData. To bind this itemData text to the text box and edit the selected text, refer to the following code. App.component.html:
App.component.ts:
App.module.ts:
StackBlitz sample link: https://stackblitz.com/edit/angular-svhivj Output: |
This page will automatically be redirected to the sign-in page in 10 seconds.