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

feat(input): add clearInputIcon property #29246

Merged
merged 4 commits into from
Apr 2, 2024
Merged

feat(input): add clearInputIcon property #29246

merged 4 commits into from
Apr 2, 2024

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Apr 1, 2024

Issue number: resolves #26974


What is the current behavior?

In #26354 we updated the clear icon to use an ionicon instead of an hardcoded SVG. This has made it challenging to customize the icon.

What is the new behavior?

  • Added clearInputIcon property to allow developers to customize the ionicon used.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package labels Apr 1, 2024
@liamdebeasi liamdebeasi changed the title Fw 6034 feat(input): add clearInputIcon property Apr 1, 2024
@liamdebeasi liamdebeasi marked this pull request as ready for review April 1, 2024 15:14
Copy link
Contributor

@averyjohnston averyjohnston left a comment

Choose a reason for hiding this comment

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

Tried it locally, LGTM 👍

@liamdebeasi liamdebeasi changed the base branch from feature-8.0 to feature-8.1 April 2, 2024 14:29
@liamdebeasi liamdebeasi merged commit 59b72f4 into feature-8.1 Apr 2, 2024
42 checks passed
@liamdebeasi liamdebeasi deleted the FW-6034 branch April 2, 2024 14:30
liamdebeasi added a commit that referenced this pull request Apr 3, 2024
Issue number: resolves #26974

---------

<!-- Please do not submit updates to dependencies unless it fixes an
issue. -->

<!-- Please try to limit your pull request to one type (bugfix, feature,
etc). Submit multiple pull requests if needed. -->

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying. -->

In #26354 we updated
the clear icon to use an ionicon instead of an hardcoded SVG. This has
made it challenging to customize the icon.

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by
this PR. -->

- Added `clearInputIcon` property to allow developers to customize the
ionicon used.

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!--
  If this introduces a breaking change:
1. Describe the impact and migration path for existing applications
below.
  2. Update the BREAKING.md file with the breaking change.
3. Add "BREAKING CHANGE: [...]" to the commit description when merging.
See
https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#footer
for more information.
-->


## Other information

<!-- Any other information that is important to this PR such as
screenshots of how the component looks before and after the change. -->
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