For the past few days I've been working on making my first custom node (yay!) and after reading over the code of the default nodes in an attempt to see how Node Red makes their code works, there's one problem I can't seem to solve. After a user enters in the name of the node, they have a few other input fields where they can type in the name and property of an object that they wish to compare. After entering in the data, they can close the node and continue working knowing that the node will remember the text that they entered. However, if they refresh the page, the node's label and input values disappear! Does anyone know of the proper way to store the values of the input fields so that even after a restart/refresh they will persist? The picture below could help with my explanation:
Essentially after a user hits Done and refreshes the page, all fields remain empty and the dropdown menu's are reset to their default value.