Data Binding

The Dataset Filter Labels component does not use a datamap which means it does not expect any specific set of fields in data bound to the component.

To bind the component to data, set the configuration's data property with a valid dataset.

const dataset = new wire.data.DataSet({
    Source: [source],
    Query: wire.data.select()
});
new wire.filterLabel().render("#label", {
    data: datset
});   

Last updated