Sets the value from payload in the data in the data property.

Learn more about working with data.

For example, let's say you want to add shortcuts for the option. You need the shortcut to perform the same action as the selected option, which is to set the specified value in the data. To set this action, use action.set.

View example in the sandbox.

As another example, you can use this component to count the number of clicks on an option and write the value in the output data. When the page is refreshed, set the value to 0.

View example in the sandbox.

Component properties


Set component type


Data with values that will be processed or changed.


The value to write to the data.