feat(select): change required prop description

This commit is contained in:
giuliana
2025-01-24 11:24:22 +00:00
parent e31e5fdca5
commit d1bc696f9f
2 changed files with 5 additions and 3 deletions

View File

@ -2809,7 +2809,7 @@ export namespace Components {
*/ */
"placeholder"?: string; "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; "required": boolean;
/** /**
@ -7645,7 +7645,7 @@ declare namespace LocalJSX {
*/ */
"placeholder"?: string; "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; "required"?: boolean;
/** /**

View File

@ -197,7 +197,9 @@ export class Select implements ComponentInterface {
@Prop({ mutable: true }) value?: any | null; @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; @Prop() required = false;