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

[EuiCombobox] Add autocomplete="off" #7842

Merged
merged 4 commits into from
Jun 20, 2024

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented Jun 20, 2024

Summary

closes #7841

This PR updates EuiComboBox by adding autocomplete="off" to align its behavior with EuiSelectable to prevent any autofill that might be done by the browser.

QA

  • EuiComboBox has autocomplete attribute is available on the input element with role="combobox"

General checklist

  • Browser QA
    • Checked in both light and dark modes
    • Checked in mobile
    • Checked in Chrome, Safari, Edge, and Firefox
    • Checked for accessibility including keyboard-only and screenreader modes
  • Docs site QA
  • Code quality checklist - N/A
  • Release checklist
    • A changelog entry exists and is marked appropriately.
    • If applicable, added the breaking change issue label (and filled out the breaking change checklist)
  • Designer checklist - N/A

@mgadewoll mgadewoll marked this pull request as ready for review June 20, 2024 16:55
@mgadewoll mgadewoll requested a review from a team as a code owner June 20, 2024 16:55
Copy link
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

🎉 Thanks for the super quick fix! Have a minor changelog suggestion, but otherwise LGTM!

packages/eui/changelogs/upcoming/7842.md Outdated Show resolved Hide resolved
@mgadewoll mgadewoll enabled auto-merge (squash) June 20, 2024 19:18
@kibanamachine
Copy link

Preview staging links for this PR:

@mgadewoll mgadewoll merged commit a7f6d84 into elastic:main Jun 20, 2024
5 checks passed
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

jbudz added a commit to elastic/kibana that referenced this pull request Jun 28, 2024
`v95.1.0`⏩`v95.2.0`

_[Questions? Please see our Kibana upgrade
FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)_

---

## [`v95.2.0`](https://github.com/elastic/eui/releases/v95.2.0)

- Updated `EuiContextMenuItemIcon`'s type definition to explicitly
define support for `EuiIcon`'s `IconType`
([#7804](elastic/eui#7804))
- Updated `EuiSteps` to support a new `titleSize="xxs"` style, which
outputs the same title font size but smaller unnumbered step indicators
([#7813](elastic/eui#7813))
- Updated `EuiStepsHorizontal` to support a new `size="xs"` style, which
outputs smaller unnumbered step indicators
([#7813](elastic/eui#7813))
- Updated `EuiStepNumber` to support new `titleSize="none"` which omits
rendering step numbers, and will only render icons
([#7813](elastic/eui#7813))
- Updated `setEuiDevProviderWarning` to additionally accept a custom
callback function, which warning messages will be passed to
([#7820](elastic/eui#7820))
- Updated `EuiIcon` to feature updated `logoElasticStack` logo for
referencing Elastic Stack platform
([#7838](elastic/eui#7838))
- Updated `EuiIcon` to feature updated `casesApp` design.
([#7840](elastic/eui#7840))
- Updated `EuiComboBox` to no longer autocomplete searched text when
used within forms ([#7842](elastic/eui#7842))

**CSS-in-JS conversions**

- Converted `EuiFilePicker` to Emotion; Removed
`$euiFilePickerTallHeight`
([#7833](elastic/eui#7833))

---------

Co-authored-by: Jon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EuiComboBox] Add autocomplete="off"
4 participants