mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
feat(select): change required prop description
This commit is contained in:
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -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;
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user