Edit this page

dataTextField String(default: "")

The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.

Important When dataTextField is defined, thedataValueField option also should be set.

Example - set the dataTextField

<input id="combobox" />
    dataSource: [
        { Name: "Parent1", Id: 1 },
        { Name: "Parent2", Id: 2 }
    dataTextField: "Name",
    dataValueField: "Id"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article