CoreUI PRO v5.29.2 - Key Event Fix for Autofill and Extensions

CoreUI PRO v5.29.2 - Key Event Fix for Autofill and Extensions

We are pleased to announce the release of CoreUI PRO v5.29.2 for Bootstrap. This patch release makes the Multi Select, Autocomplete, Chip Input and Search Button ignore key events that carry no key, instead of throwing an error.


Speed up your responsive apps and websites with fully-featured, ready-to-use open-source admin panel templates—free to use and built for efficiency.


How to Update

To update your project to CoreUI PRO v5.29.2, follow these steps:

  1. Open your project’s package.json.
  2. Locate the @coreui/coreui-pro entry under dependencies and update the version number to 5.29.2.
  3. Save your changes to the package.json file.
  4. In your project’s root directory, run the update command appropriate for your package manager:
    • For npm users, execute npm install.
    • For yarn users, execute yarn install.
    • For pnpm users, execute pnpm install.

You can also download the latest PRO packages from CoreUI Downloads.

What’s New

Bug Fixes

  • Key events without a key: Chrome autofill and some browser extensions dispatch keydown and keyup events that are not KeyboardEvents, so event.key is undefined. The keyboard handlers of Multi Select, Autocomplete and Chip Input read the key without checking it and threw a TypeError on such an event. Each handler now returns early when the event has no key.
  • Search Button: The Search Button listens for its keyboard shortcut on the whole document, so one such event anywhere on a page with a search button threw an error. Its document handlers now ignore events without a key.
  • Multi Select: The handler on the underlying native <select> now returns before calling preventDefault() for an event without a key, so that event keeps its default behavior.

Dependency Updates

  • No dependency changes in this release.

For the latest package files and update access, visit CoreUI Downloads.

Subscribe to our newsletter
Get early information about new products, product updates and blog posts.