diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 6f53d4d245..d4f8df573c 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -2809,7 +2809,7 @@ export namespace Components { */ "placeholder"?: string; /** - * If `true`, the user must fill in a value before submitting a form. + * If true, screen readers will announce it as a required field. This property works only for accessibility purposes, it will not prevent the form from submitting if the value is invalid. */ "required": boolean; /** @@ -7645,7 +7645,7 @@ declare namespace LocalJSX { */ "placeholder"?: string; /** - * If `true`, the user must fill in a value before submitting a form. + * If true, screen readers will announce it as a required field. This property works only for accessibility purposes, it will not prevent the form from submitting if the value is invalid. */ "required"?: boolean; /** diff --git a/core/src/components/select/select.tsx b/core/src/components/select/select.tsx index b9495115d1..81c93244f6 100644 --- a/core/src/components/select/select.tsx +++ b/core/src/components/select/select.tsx @@ -197,7 +197,9 @@ export class Select implements ComponentInterface { @Prop({ mutable: true }) value?: any | null; /** - * If `true`, the user must fill in a value before submitting a form. + * If true, screen readers will announce it as a required field. This property + * works only for accessibility purposes, it will not prevent the form from + * submitting if the value is invalid. */ @Prop() required = false;