Skip to content

Conversation

@thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Jan 31, 2024

Issue number: internal


What is the current behavior?

ion-input has a deprecated property: accept. This property was marked deprecated because the file value for type is not a valid value in Ionic Framework.

What is the new behavior?

  • Removed the accept property.
  • Updated the breaking change to include this change.

Does this introduce a breaking change?

  • Yes
  • No

accept can only be used when the input has a type of file. However, file is not a valid value in Ionic Framework so the accept property was removed.

Other information

Related PR

@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package labels Jan 31, 2024
@thetaPC thetaPC marked this pull request as ready for review January 31, 2024 20:36
@thetaPC thetaPC requested review from a team, liamdebeasi and sean-perkins as code owners January 31, 2024 20:36
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good. Don't forget to add a BREAKING CHANGE message to the bottom of the commit description when merging: https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#examples

Also, the commit should probably be refactor here instead of feat since we are removing a feature, not adding one.

@liamdebeasi liamdebeasi changed the title feat(input): remove accept property refactor(input): remove accept property Feb 1, 2024
@liamdebeasi liamdebeasi changed the title refactor(input): remove accept property feat(input): remove accept property Feb 1, 2024
@liamdebeasi liamdebeasi changed the title feat(input): remove accept property refactor(input): remove accept property Feb 1, 2024
@thetaPC thetaPC merged commit 2816b87 into feature-8.0 Feb 1, 2024
@thetaPC thetaPC deleted the FW-5497 branch February 1, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants