Skip to main content

textOptions

Description

specifies a set of data items that will be used in the input and hidden from dropdown

Type

array

Example

Note if you want to display options in the dropdown, you need to define the options array.

<script>
const users = [
{id: 1, label: "Berni Mayou"},
{id: 2, label: "August Dvorak"},
{id: 3, label: "Elly Soyer"},
];

const renderedUsers = [
{id: 103, label: "Ned Stark"},
{id: 104, label: "Lord Varys"},
];
</script>

<MultiCombo textOptions={users} options={renderedUsers} value={1} />

Related article: Hiding options from dropdown

Related sample: MultiCombo