refactor(input): remove accept property (#28946)

BREAKING CHANGE:
The `accept` property has been removed from `ion-input`.
This commit is contained in:
Maria Hutt
2024-02-01 11:43:19 -08:00
committed by GitHub
parent a393d2a86c
commit 2816b87ba6
6 changed files with 3 additions and 22 deletions

View File

@ -74,12 +74,6 @@ export class Input implements ComponentInterface {
*/
@Prop({ reflect: true }) color?: Color;
/**
* This attribute is ignored.
* @deprecated
*/
@Prop() accept?: string;
/**
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
@ -784,7 +778,6 @@ export class Input implements ComponentInterface {
ref={(input) => (this.nativeInput = input)}
id={inputId}
disabled={disabled}
accept={this.accept}
autoCapitalize={this.autocapitalize}
autoComplete={this.autocomplete}
autoCorrect={this.autocorrect}
@ -892,7 +885,6 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
ref={(input) => (this.nativeInput = input)}
aria-labelledby={label ? label.id : null}
disabled={this.disabled}
accept={this.accept}
autoCapitalize={this.autocapitalize}
autoComplete={this.autocomplete}
autoCorrect={this.autocorrect}