mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
docs(input): clarify intended placeholder behavior for certain input types (#24567)
resolves #24557
This commit is contained in:
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -1081,7 +1081,7 @@ export namespace Components {
|
||||
*/
|
||||
"pattern"?: string;
|
||||
/**
|
||||
* Instructional text that shows before the input has a value.
|
||||
* Instructional text that shows before the input has a value. This property applies only when the `type` property is set to `"email"`, `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
|
||||
*/
|
||||
"placeholder"?: string;
|
||||
/**
|
||||
@ -4802,7 +4802,7 @@ declare namespace LocalJSX {
|
||||
*/
|
||||
"pattern"?: string;
|
||||
/**
|
||||
* Instructional text that shows before the input has a value.
|
||||
* Instructional text that shows before the input has a value. This property applies only when the `type` property is set to `"email"`, `"number"`, `"password"`, `"search"`, `"tel"`, `"text"`, or `"url"`, otherwise it is ignored.
|
||||
*/
|
||||
"placeholder"?: string;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user