Skip to content

Conversation

@sean-perkins
Copy link
Contributor

Issue number: N/A


What is the current behavior?

What is the new behavior?

  • Syncs the next branch with the latest from feature-8.0.

Does this introduce a breaking change?

  • Yes
  • No

Other information

liamdebeasi and others added 4 commits March 22, 2024 09:13
BREAKING CHANGE: The `autocapitalize` property on Searchbar now defaults to `'off'`.
Issue number: Internal

---------

<!-- 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. -->

When given a password input it is hard to know what users are typing as
the contents of the input are obscured. As a result, it is a common
pattern to have a button that lets users temporarily toggle the
visibility of the password so they can correct any mistakes. Ionic
currently has the infrastructure for developers to implement this on
their own, but this use case is so common that the team thinks it is
worth having this functionality built-in to Ionic.

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

- Introduces the `ion-input-password-toggle` component. This component
is a button that toggles the visibility of the text in the input it is
slotted into.

## 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. -->


⚠️ Give co-author credit to
#29141 on merge.

Docs PR: ionic-team/ionic-docs#3541

Note: We did not do the approach listed in the other PR due to
#29141 (comment).

---------

Co-authored-by: OS-giulianasilva <OS-giulianasilva@users.noreply.github.com>
@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package package: react @ionic/react package labels Mar 27, 2024
@sean-perkins sean-perkins marked this pull request as ready for review March 27, 2024 04:30
@sean-perkins sean-perkins merged commit 6d6fd4a into next Mar 27, 2024
@sean-perkins sean-perkins deleted the sp/sync-next-03-27 branch March 27, 2024 14:14
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: react @ionic/react package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants