Create a list based on localStorage array


This is what I'm trying to do:
Import contacts from native device (which works fine) then add individual contacts to an array in localStorage. Each contact added should then be displayed in a "new" contacts list specific to the mobile app being developed. I basically want to maintain a separate contacts list in the app based on the contacts stored on the device.

This is what I have:
Import contacts from native device works perfectly. Once I select a contact to add to the new contacts list, I only get one contact in the new list. Regardless of how many I continue to select from the imported list. The new list never updates and I don't think the objects I'm selecting to add are being added to the array.

I'm not running any custom JS or anything, I'm merely using mappings within the user interface.

Thank you,
1 person has
this question
This topic is no longer open for comments or replies.