QuestionTagboxModel
A class that describes the Multi-Select Dropdown (Tag Box) question type.
Properties
Methods
Events
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
onCreateCustomChoiceItemevent.
- 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
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
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
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
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
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