mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
fix(textarea): remove autocomplete prop
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user