# action.set

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

For example, let's say you want to add shortcuts for the field.radio-group 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.

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.

## Component properties

 Name Type Description type* "action.set" Set component type data writable Data with values that will be processed or changed. payload any The value to write to the data.