From 3263622a298654140e26735a2f5cfa877538370d Mon Sep 17 00:00:00 2001 From: Roman Tsukanov Date: Fri, 18 Aug 2023 17:05:04 +0400 Subject: [PATCH] Update question names in class descriptions --- src/question_baseselect.ts | 2 +- src/question_boolean.ts | 2 +- src/question_checkbox.ts | 2 +- src/question_comment.ts | 2 +- src/question_file.ts | 2 +- src/question_html.ts | 2 +- src/question_matrix.ts | 2 +- src/question_matrixdropdown.ts | 2 +- src/question_multipletext.ts | 2 +- src/question_radiogroup.ts | 2 +- src/question_signaturepad.ts | 2 +- src/question_tagbox.ts | 2 +- src/question_text.ts | 2 +- src/question_textbase.ts | 2 +- src/survey.ts | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/question_baseselect.ts b/src/question_baseselect.ts index c8cde80318..4df988dbfe 100644 --- a/src/question_baseselect.ts +++ b/src/question_baseselect.ts @@ -15,7 +15,7 @@ import { CssClassBuilder } from "./utils/cssClassBuilder"; import { mergeValues } from "./utils/utils"; /** - * A base class for multiple-choice question types ([Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), etc.). + * A base class for multiple-choice question types ([Checkboxes](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Radio Button Group](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), etc.). */ export class QuestionSelectBase extends Question { public visibleChoicesChangedCallback: () => void; diff --git a/src/question_boolean.ts b/src/question_boolean.ts index b4b41d2861..c76fd90a33 100644 --- a/src/question_boolean.ts +++ b/src/question_boolean.ts @@ -8,7 +8,7 @@ import { preventDefaults } from "./utils/utils"; import { ActionContainer } from "./actions/container"; /** - * A class that describes the Boolean question type. + * A class that describes the Yes/No (Boolean) question type. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-boolean/ (linkStyle)) */ diff --git a/src/question_checkbox.ts b/src/question_checkbox.ts index 3c5b5c6253..8ac0c4cb5e 100644 --- a/src/question_checkbox.ts +++ b/src/question_checkbox.ts @@ -14,7 +14,7 @@ import { SurveyError } from "./survey-error"; import { CustomError } from "./error"; /** - * A class that describes the Checkbox question type. + * A class that describes the Checkboxes question type. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-checkbox/ (linkStyle)) */ diff --git a/src/question_comment.ts b/src/question_comment.ts index 4e01d3c14c..08c05fc2e9 100644 --- a/src/question_comment.ts +++ b/src/question_comment.ts @@ -7,7 +7,7 @@ import { increaseHeightByContent } from "./utils/utils"; import { settings } from "./settings"; /** - * A class that describes the Comment question type. + * A class that describes the Long Text question type. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-comment/ (linkStyle)) */ diff --git a/src/question_file.ts b/src/question_file.ts index b2cb652ea2..732c386c35 100644 --- a/src/question_file.ts +++ b/src/question_file.ts @@ -11,7 +11,7 @@ import { Action } from "./actions/action"; import { Helpers } from "./helpers"; /** - * A class that describes the File question type. + * A class that describes the File Upload question type. * * [View Demo](https://surveyjs.io/form-library/examples/file-upload/ (linkStyle)) */ diff --git a/src/question_html.ts b/src/question_html.ts index c7ffafe048..158c622cc5 100644 --- a/src/question_html.ts +++ b/src/question_html.ts @@ -4,7 +4,7 @@ import { QuestionFactory } from "./questionfactory"; import { LocalizableString } from "./localizablestring"; /** - * A class that describes the Html question type. Unlike other question types, Html cannot have a title or value. + * A class that describes the HTML question type. Unlike other question types, HTML cannot have a title or value. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-html/ (linkStyle)) */ diff --git a/src/question_matrix.ts b/src/question_matrix.ts index 5c058f44f7..3fb8995d03 100644 --- a/src/question_matrix.ts +++ b/src/question_matrix.ts @@ -206,7 +206,7 @@ export class MatrixCells { } /** - * A class that describes the Single-Choice Matrix question type. + * A class that describes the Single-Select Matrix question type. * * [View Demo](https://surveyjs.io/form-library/examples/single-selection-matrix-table-question/ (linkStyle)) */ diff --git a/src/question_matrixdropdown.ts b/src/question_matrixdropdown.ts index 8c6f10386d..d896e1025f 100644 --- a/src/question_matrixdropdown.ts +++ b/src/question_matrixdropdown.ts @@ -33,7 +33,7 @@ export class MatrixDropdownRowModel extends MatrixDropdownRowModelBase { } } /** - * A class that describes the Multiple-Choice Matrix question type. Multiple-Choice Matrix allows you to use the [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Text](https://surveyjs.io/form-library/documentation/questiontextmodel), and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types as cell editors. + * A class that describes the Multi-Select Matrix question type. Multi-Select Matrix allows you to use the [Dropdown](https://surveyjs.io/form-library/documentation/questiondropdownmodel), [Checkbox](https://surveyjs.io/form-library/documentation/questioncheckboxmodel), [Radiogroup](https://surveyjs.io/form-library/documentation/questionradiogroupmodel), [Text](https://surveyjs.io/form-library/documentation/questiontextmodel), and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types as cell editors. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-matrixdropdown/ (linkStyle)) */ diff --git a/src/question_multipletext.ts b/src/question_multipletext.ts index 43d98cbd94..44a4315e93 100644 --- a/src/question_multipletext.ts +++ b/src/question_multipletext.ts @@ -41,7 +41,7 @@ export class MultipleTextEditorModel extends QuestionTextModel { } /** - * A class that describes an item in a [Multiple Text](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question. + * A class that describes an item in a [Multiple Textboxes](https://surveyjs.io/form-library/documentation/api-reference/multiple-text-entry-question-model) question. * * [View Demo](/form-library/examples/multiple-text-box-question/) */ diff --git a/src/question_radiogroup.ts b/src/question_radiogroup.ts index e9ef552f90..50d0eb72f0 100644 --- a/src/question_radiogroup.ts +++ b/src/question_radiogroup.ts @@ -7,7 +7,7 @@ import { Action } from "./actions/action"; import { ComputedUpdater } from "./base"; /** - * A class that describes the Radiogroup question type. + * A class that describes the Radio Button Group question type. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-radiogroup/ (linkStyle)) */ diff --git a/src/question_signaturepad.ts b/src/question_signaturepad.ts index 7684315f2a..09c6f2bdcd 100644 --- a/src/question_signaturepad.ts +++ b/src/question_signaturepad.ts @@ -37,7 +37,7 @@ function resizeCanvas(canvas: HTMLCanvasElement) { } /** - * A class that describes the Signature Page question type. + * A class that describes the Signature question type. * * [View Demo](https://surveyjs.io/form-library/examples/signature-pad-widget-javascript/ (linkStyle)) */ diff --git a/src/question_tagbox.ts b/src/question_tagbox.ts index 53a58f4186..192ea1f599 100644 --- a/src/question_tagbox.ts +++ b/src/question_tagbox.ts @@ -10,7 +10,7 @@ import { settings } from "./settings"; import { ItemValue } from "./itemvalue"; /** - * A Model for a tagbox question + * A class that describes the Multi-Select Dropdown (Tag Box) question type. * * [View Demo](https://surveyjs.io/form-library/examples/how-to-create-multiselect-tag-box/ (linkStyle)) */ diff --git a/src/question_text.ts b/src/question_text.ts index b76de33172..91b03e4848 100644 --- a/src/question_text.ts +++ b/src/question_text.ts @@ -11,7 +11,7 @@ import { ExpressionRunner } from "./conditions"; import { SurveyModel } from "./survey"; /** - * A class that describes the Text question type. + * A class that describes the Single-Line Input question type. * * [View Demo](https://surveyjs.io/form-library/examples/questiontype-text/ (linkStyle)) */ diff --git a/src/question_textbase.ts b/src/question_textbase.ts index 3cbb1c476a..eeb1637208 100644 --- a/src/question_textbase.ts +++ b/src/question_textbase.ts @@ -14,7 +14,7 @@ export class CharacterCounter extends Base { } /** - * A base class for the [Text](https://surveyjs.io/form-library/documentation/questiontextmodel) and [Comment](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types. + * A base class for the [Single-Line Input](https://surveyjs.io/form-library/documentation/questiontextmodel) and [Long Text](https://surveyjs.io/form-library/documentation/questioncommentmodel) question types. */ export class QuestionTextBase extends Question { constructor(name: string) { diff --git a/src/survey.ts b/src/survey.ts index 82d300fe7d..871edc9f08 100644 --- a/src/survey.ts +++ b/src/survey.ts @@ -1521,7 +1521,7 @@ export class SurveyModel extends SurveyElementCore * * If you enable this property, the survey is also completed automatically. Set the [`allowCompleteSurveyAutomatic`](https://surveyjs.io/form-library/documentation/api-reference/survey-data-model#allowCompleteSurveyAutomatic) property to `false` if you want to disable this behavior. * - * > If any of the following questions is answered last, the survey does not switch to the next page: Checkbox, Boolean (rendered as Checkbox), Comment, Signature Pad, Image Picker (with Multi Select), File, Single-Choice Matrix (not all rows are answered), Dynamic Matrix, Panel Dynamic. + * > If any of the following questions is answered last, the survey does not switch to the next page: Checkboxes, Yes/No (Boolean) (rendered as Checkbox), Long Text, Signature, Image Picker (with Multi Select), File Upload, Single-Select Matrix (not all rows are answered), Dynamic Matrix, Dynamic Panel. * * [View Demo](https://surveyjs.io/form-library/examples/automatically-move-to-next-page-if-answer-selected/ (linkStyle)) */