QuestionTagboxModel

A class that describes the Multi-Select Dropdown (Tag Box) question type.

View Demo

allowClear property

Specifies whether to display a button that clears the selected value.

Type:
boolean readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Default value:
True
Implemented in:
QuestionTagboxModel

Specifies whether users can add their own choices if the desired option isn't available in the dropdown.

Default value: false

Custom choices will only be stored temporarily for the duration of the current browser session. If you want to save them in a data storage, handle the onCreateCustomChoiceItem event.

Type:
boolean readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Implemented in:
QuestionTagboxModel

Enables lazy loading. If you set this property to true, you should implement the Survey's onChoicesLazyLoad event handler.

Type:
boolean readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Implemented in:
QuestionTagboxModel
See also:
choicesLazyLoadPageSize * , SurveyModel.onChoicesLazyLoad

Specifies the number of choice items to load at a time when choices are loaded on demand.

Type:
number readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Default value:
25
Implemented in:
QuestionTagboxModel
See also:
choicesLazyLoadEnabled * , SurveyModel.onChoicesLazyLoad
closeOnSelect property

Specifies whether to close the drop-down menu after a user selects a value.

Type:
number readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Implemented in:
QuestionTagboxModel

Specifies whether to remove selected items from the drop-down list.

Type:
boolean readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Implemented in:
QuestionTagboxModel
placeholder property

A text displayed in the input field when it doesn't have a value.

Type:
string writable

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Implemented in:
QuestionTagboxModel
searchEnabled property

Specifies whether users can enter a value into the input field to filter the drop-down list.

Type:
boolean readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Default value:
True
Implemented in:
QuestionTagboxModel
searchMode property

Specifies a comparison operation used to filter the drop-down list. Applies only if searchEnabled is true.

Possible values:

  • "contains" (default)
  • "startsWith"
Type:
"contains" | "startsWith" readonly

This property is stored in the survey JSON definition and can be edited in the Survey Creator.

Default value:
contains
Accepted values:
contains , startsWith
Implemented in:
QuestionTagboxModel
See also:
SurveyModel.onChoicesSearch

Send feedback to the SurveyJS team

Need help? Visit our support page

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.