List component functionality

54 Views Asked by At

Just wondering if anyone could take a look at my code on sandbox to help me with a problem I have been struggling with.

SelectList

  • Display a full list of options to add to the List

  • Display Pre-selected options (items with a value > 0)

  • Updated when data changes, simulated on code sandbox with buttons

  • Remove Item, item object needs too stay in item arry, value set to 0

  • Item should only remove onClick of a button, (my version deletes if the user types deletes data in input)

  • Add Item List should keep to its original order

Would really appreciate any help,

Shane

0

There are 0 best solutions below