Skip to content

Commit 7996747

Browse files
committed
docs: helper and error text description
1 parent 39e6d9f commit 7996747

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/src/components.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,11 +624,11 @@ export namespace Components {
624624
*/
625625
"disabled": boolean;
626626
/**
627-
* Text that is placed under the checkbox and displayed when an error is detected.
627+
* Text that is placed under the checkbox label and displayed when an error is detected.
628628
*/
629629
"errorText"?: string;
630630
/**
631-
* Text that is placed under the checkbox and displayed when no error is detected.
631+
* Text that is placed under the checkbox label and displayed when no error is detected.
632632
*/
633633
"helperText"?: string;
634634
/**
@@ -5412,11 +5412,11 @@ declare namespace LocalJSX {
54125412
*/
54135413
"disabled"?: boolean;
54145414
/**
5415-
* Text that is placed under the checkbox and displayed when an error is detected.
5415+
* Text that is placed under the checkbox label and displayed when an error is detected.
54165416
*/
54175417
"errorText"?: string;
54185418
/**
5419-
* Text that is placed under the checkbox and displayed when no error is detected.
5419+
* Text that is placed under the checkbox label and displayed when no error is detected.
54205420
*/
54215421
"helperText"?: string;
54225422
/**

core/src/components/checkbox/checkbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ export class Checkbox implements ComponentInterface {
6666
@Prop() disabled = false;
6767

6868
/**
69-
* Text that is placed under the checkbox and displayed when an error is detected.
69+
* Text that is placed under the checkbox label and displayed when an error is detected.
7070
*/
7171
@Prop() errorText?: string;
7272

7373
/**
74-
* Text that is placed under the checkbox and displayed when no error is detected.
74+
* Text that is placed under the checkbox label and displayed when no error is detected.
7575
*/
7676
@Prop() helperText?: string;
7777

0 commit comments

Comments
 (0)