Within my application, there is a drop-down menu where users can select the specific data they wish to view and potentially edit. While I am able to update input data using the drop-down selection, I am encountering an issue with an *ngFor loop that dynamically populates the page with data from a hash table. My goal is to fetch data from the hash table based on the item selected in the drop-down menu.
Below is an example of the code:
https://stackblitz.com/edit/angular-dmyqrn
Currently, I have set it up to load sample input data defined as a constant
SOURCE_DESTINATION_PARAMETERS_VALUES_DATA
This constant references the DATA00 hash, but I do not want it to be static. I am unsure how to dynamically assign this data to update the other fields automatically.
Does anyone have any suggestions on how this can be achieved?