fix(textarea): remove autocomplete prop

This commit is contained in:
Manu Mtz.-Almeida
2018-08-19 19:00:37 +02:00
parent ed5c8ebf09
commit 5989f15952
4 changed files with 1 additions and 15 deletions

View File

@ -2431,10 +2431,6 @@ declare global {
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Defaults to `"none"`.
*/
'autocapitalize': string;
/**
* Indicates whether the value of the control can be automatically completed by the browser. Defaults to `"off"`.
*/
'autocomplete': string;
/**
* This Boolean attribute lets you specify that a form control should have input focus when the page loads. Defaults to `false`.
*/
@ -5977,10 +5973,6 @@ declare global {
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Defaults to `"none"`.
*/
'autocapitalize'?: string;
/**
* Indicates whether the value of the control can be automatically completed by the browser. Defaults to `"off"`.
*/
'autocomplete'?: string;
/**
* This Boolean attribute lets you specify that a form control should have input focus when the page loads. Defaults to `false`.
*/

View File

@ -64,6 +64,7 @@ There are several attributes that can be added to a column to customize this beh
| `--ion-grid-column-padding-sm` | Padding for the Column on sm screens and up |
| `--ion-grid-column-padding-xl` | Padding for the Column on xl screens and up |
| `--ion-grid-column-padding-xs` | Padding for the Column on xs screens and up |
| `--ion-grid-columns` | The number of total Columns in the Grid |
----------------------------------------------

View File

@ -16,7 +16,6 @@ The textarea component accepts the [native textarea attributes](https://develope
| Property | Attribute | Description | Type |
| ---------------- | ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `autocapitalize` | `autocapitalize` | Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user. Defaults to `"none"`. | `string` |
| `autocomplete` | `autocomplete` | Indicates whether the value of the control can be automatically completed by the browser. Defaults to `"off"`. | `string` |
| `autofocus` | `autofocus` | This Boolean attribute lets you specify that a form control should have input focus when the page loads. Defaults to `false`. | `boolean` |
| `clearOnEdit` | `clear-on-edit` | If true, the value will be cleared after focus upon edit. Defaults to `true` when `type` is `"password"`, `false` for all other types. | `boolean` |
| `color` | `color` | The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics). | `Color` |

View File

@ -67,11 +67,6 @@ export class Textarea implements TextareaComponent {
*/
@Prop() autocapitalize = 'none';
/**
* Indicates whether the value of the control can be automatically completed by the browser. Defaults to `"off"`.
*/
@Prop() autocomplete = 'off';
/**
* This Boolean attribute lets you specify that a form control should have input focus when the page loads. Defaults to `false`.
*/
@ -256,7 +251,6 @@ export class Textarea implements TextareaComponent {
class="native-textarea"
ref={el => this.inputEl = el as HTMLTextAreaElement}
autoCapitalize={this.autocapitalize}
// autoComplete={this.autocomplete}
autoFocus={this.autofocus}
disabled={this.disabled}
maxLength={this.maxlength}