Save Data to Local Storage

I’m trying to do a simple example where I have 2 input fields and a button.
I’m trying to enter a value into the 2 fields then save the data to local storage.
I am then trying to us a smart table to view the saved data.
Does anyone have an example on how to do this?

Hi there, here’s the Action Step screenshot that should work well:

return [...{{state.table}}, { key: {{ui.Input.value}}, value: {{ui.Input1.value}}}];

And then you need to assign this Action to the button, and put the {{state.table}} into the Data field of the table.

1 Like

Thank you, I will give this a try

1 Like