I'm currently developing a VUE JS app that calculates route costs for employees based on specific route details.
I am looking to create a VUE JS component that will only display a dropdown list with three columns:
- List of countries
- Day fee for each country
- Night fee for each country
Once a country is selected, an object should be created with the chosen attributes. It's important to note that the list of countries with their respective fees is stored locally in a CSV file and not retrieved from a database.
Your assistance with this matter would be greatly appreciated. Thank you!
I attempted creating a dropdown list by specifying different data columns within the CSV using span tags, but it resulted in each row appearing as a single string rather than separate columns.