I have a page state called “temp_product” and its type is “Product” (NOT a list).
Type “Product” has these fields:
- name (text)
- value (number)
I have an input box collecting a text and I would like to put this text into the “name” field of the state “temp_product”. How should be done?