On this page
Combine display values
Display values from multiple state sources.
Before you begin: Display text and attributes.
Multiple State Sources
When a page already has more than one element that can update the same state value, declare those sources with a comma. This is useful when generated markup has a visible control and a separate label or helper element that should behave like the same input.
Reference excerpt: use this with the page, variables and functions described in this guide. Try a complete example →
The checkbox and button both update $state.terms. This is not a required UI pattern. It is just one example of using multiple state sources when a theme's markup already gives you more than one way to represent the same value.
Continue with Render editable lists.