mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(alert): add clarification about input options
Added clarifications about the `placeholder` and `label` input options, related to: https://forum.ionicframework.com/t/alerts-property-label-not-work/53335.
This commit is contained in:

committed by
Adam Bradley

parent
8a920a24a5
commit
6e3859a657
@ -282,9 +282,9 @@ export class Alert extends ViewController {
|
|||||||
* |-------------|-----------|-----------------------------------------------------------------|
|
* |-------------|-----------|-----------------------------------------------------------------|
|
||||||
* | type | `string` | The type the input should be, text, tel, number, etc (optional) |
|
* | type | `string` | The type the input should be, text, tel, number, etc (optional) |
|
||||||
* | name | `string` | The name for the input (optional) |
|
* | name | `string` | The name for the input (optional) |
|
||||||
* | placeHolder | `string` | The input's placeholder (optional) |
|
* | placeholder | `string` | The input's placeholder (optional, for textual/numeric inputs) |
|
||||||
* | value | `string` | The input's value (optional) |
|
* | value | `string` | The input's value (optional) |
|
||||||
* | label | `string` | The input's label (optional) |
|
* | label | `string` | The input's label (optional, only for radio/checkbox inputs) |
|
||||||
* | checked | `boolean` | Whether or not the input is checked or not (optional) |
|
* | checked | `boolean` | Whether or not the input is checked or not (optional) |
|
||||||
* | id | `string` | The input's id (optional) |
|
* | id | `string` | The input's id (optional) |
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user