mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(label): placeholder + floating label (#16111)
* fix(label): placeholder + floating label * fix placeholder type * update docs * uodate docs
This commit is contained in:
8
core/src/components.d.ts
vendored
8
core/src/components.d.ts
vendored
@ -1766,7 +1766,7 @@ export namespace Components {
|
||||
/**
|
||||
* Instructional text that shows before the input has a value.
|
||||
*/
|
||||
'placeholder'?: string;
|
||||
'placeholder'?: string | null;
|
||||
/**
|
||||
* If `true`, the user cannot modify the value.
|
||||
*/
|
||||
@ -1912,7 +1912,7 @@ export namespace Components {
|
||||
/**
|
||||
* Instructional text that shows before the input has a value.
|
||||
*/
|
||||
'placeholder'?: string;
|
||||
'placeholder'?: string | null;
|
||||
/**
|
||||
* If `true`, the user cannot modify the value.
|
||||
*/
|
||||
@ -4670,7 +4670,7 @@ export namespace Components {
|
||||
/**
|
||||
* Instructional text that shows before the input has a value.
|
||||
*/
|
||||
'placeholder'?: string;
|
||||
'placeholder'?: string | null;
|
||||
/**
|
||||
* If `true`, the user cannot modify the value.
|
||||
*/
|
||||
@ -4768,7 +4768,7 @@ export namespace Components {
|
||||
/**
|
||||
* Instructional text that shows before the input has a value.
|
||||
*/
|
||||
'placeholder'?: string;
|
||||
'placeholder'?: string | null;
|
||||
/**
|
||||
* If `true`, the user cannot modify the value.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user