Skip to content

Commit

Permalink
Update descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Tsukanov committed Jul 27, 2023
1 parent a35acb2 commit f4c964c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/question_checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,12 @@ export class QuestionCheckboxModel extends QuestionCheckboxBase {
return !this.valuePropertyName ? val : val[this.valuePropertyName];
}
/**
* Sets a limit on the number of selected choices.
* Specifies the maximum number of selected choices.
*
* Default value: 0 (unlimited)
*
* > This property only limits the number of choice items that can be selected by users. You can select any number of choice items in code, regardless of the `maxSelectedChoices` value.
* @see minSelectedChoices
*/
public get maxSelectedChoices(): number {
return this.getPropertyValue("maxSelectedChoices");
Expand All @@ -185,11 +186,12 @@ export class QuestionCheckboxModel extends QuestionCheckboxBase {
this.filterItems();
}
/**
* Sets a limit on the number of selected choices.
* Specifies the minimum number of selected choices.
*
* Default value: 0 (unlimited)
*
* > This property only limits the number of choice items that can be selected by users. You can select any number of choice items in code, regardless of the `maxSelectedChoices` value.
* > This property only limits the number of choice items that can be selected by users. You can select any number of choice items in code, regardless of the `minSelectedChoices` value.
* @see maxSelectedChoices
*/
public get minSelectedChoices(): number {
return this.getPropertyValue("minSelectedChoices");
Expand Down

0 comments on commit f4c964c

Please sign in to comment.