How to display non persistent values in dropdown by api call by json format and filter dupliacte data

0
  there are 2 dropdowns one is Coil and another is Coil Version  Coil name would be same but it would have multiple versions so i want to populate its values in dropdown with duplicates and only by the selected coilname its version should populate its appropriate versions only  and I also want to know the domain creation and import mapping also like how it should be Basically this is how the domain model looks now
asked
1 answers
-3

To display non-persistent values in a dropdown using data retrieved from an API call in JSON format, and ensure that duplicate data is filtered out, you can follow these steps:

  1. Make the API call to get the JSON data.
  2. Filter duplicates from the data (based on a specific property or the entire object).
  3. Render the dropdown with the filtered data
answered