I’ve been having trouble the last few days with an issue. I’m trying to create a function that will store each text input’s name and value with browser.storage.sync() so that way I can just call it like: “Textbox.Color” or “Textbox.PhoneNumber”. Where “Color” or “PhoneNumber” is the matching name in storage as well as the Text input that was provided.
I’m essentially trying to save myself some copy-and-paste coding.