Issue summary
Add code in trips.js that passes the trip date to showEditTripModal so that a SaveTripModal component instantiated with placeholder values corresponding to the current trip data.
Expected behavior
The "Edit Trip" button for each trip should display a SaveTripModal instance with that trip's information and enable the user to adjust and save trip details.
Actual behavior
The Edit Trip button does not do anything but the infastructure to set the placeholderObj upon calling showEditTripModal listener is set up #70 .
Issue summary
Add code in
trips.jsthat passes the trip date toshowEditTripModalso that aSaveTripModalcomponent instantiated with placeholder values corresponding to the current trip data.Expected behavior
The "Edit Trip" button for each trip should display a SaveTripModal instance with that trip's information and enable the user to adjust and save trip details.
Actual behavior
The Edit Trip button does not do anything but the infastructure to set the placeholderObj upon calling
showEditTripModallistener is set up #70 .