nss-evening-cohort-11 / nutshell-ewoks-droids

Star Destroyer
0 stars 2 forks source link

Add Weapons to a Mission #124

Open ToddSpainhour opened 4 years ago

ToddSpainhour commented 4 years ago

User Story - As a user, I should be able to add (create) multiple weapons to a new mission.

AC -

WHEN the create new mission form loads THEN I should see a drop down menu titled Mission Weapons AND it should show all the weapons AND I should be able to select multiple weapons

Dev Notes

 domString += '<select id="putSomethingHere">';
      weaponDataComponent.getWeapons()
        .then((placeholder) => {
          placeholder.forEach((placeholder) => {
            domString += `<option value=${placeholder.name}>${placeholder.name}</option>`;
          });
          domString += '</select>';