Skip to main content
A control target sets an existing dropdown or button group. Your application handles the change and updates the result.
Use this target configuration:
The adapter sets .value and fires a bubbling change event. It requires an enabled native, single-select element and option. Save through configuration as code.

Preserve the visitor’s choice

After the visitor changes a control, automatic personalization leaves it alone. If the application changes the value, Dynamite also relinquishes ownership. Restoration only reverses a change Dynamite still owns.
Target the group container. Options must be real buttons with aria-pressed, with exactly one initially pressed. The adapter clicks an enabled option; the site’s handler updates state and aria-pressed.
Use controls for useful defaults, such as a calculator’s team size. Keep consent, purchases, billing, and coordinated multi-field changes in the application.