From 6e3859a6577e388aec9eadb2fea9b108a069b15c Mon Sep 17 00:00:00 2001 From: Ignat Ignatov Date: Tue, 31 May 2016 23:30:34 +0200 Subject: [PATCH] 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. --- src/components/alert/alert.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/alert/alert.ts b/src/components/alert/alert.ts index 5ac81ba3a2..678599f665 100644 --- a/src/components/alert/alert.ts +++ b/src/components/alert/alert.ts @@ -282,9 +282,9 @@ export class Alert extends ViewController { * |-------------|-----------|-----------------------------------------------------------------| * | type | `string` | The type the input should be, text, tel, number, etc (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) | - * | 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) | * | id | `string` | The input's id (optional) | *