Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(input): remove accept property #28946

Merged
merged 2 commits into from
Feb 1, 2024
Merged

refactor(input): remove accept property #28946

merged 2 commits into from
Feb 1, 2024

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
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
44 checks passed
@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.

2 participants