Concorde documentation (crawl) ยท interactive version

Concorde functional component โ€” Value. Simply shows a value from a data provider. Doc ID: core/components/functional/value/value. Keywords: Concorde, supersoniks, core/components/functional/value/value, value, Value, functional component, sonic-value, web component. URL: https://concorde.supersoniks.org/crawl/core/components/functional/value/value.html.

Value

Simply shows a value from a data provider. You can target sub data value using dot syntax. The value reacts to changes.

<div formDataProvider="value-example">
      which one do you prefer  ?
      <sonic-radio name="preference" checked value="dogs"> Dogs</sonic-radio>
      <sonic-radio name="preference" value="cats"> Cats</sonic-radio>
    </div>
I prefer <sonic-value dataProvider="value-example" key="preference"></sonic-value>
<sonic-subscriber dataProvider="value-example-2" props='{"my":{"complex":[{"data":"๐Ÿ‘‹ Hi There"}]}}'></sonic-subscriber>
<sonic-value dataProvider="value-example-2" key="my.complex.0.data"></sonic-value>