npm @ng-select/ng-select 24.2.2
v24.2.2

57 minutes ago

24.2.2 (2026-12-01)

Bug Fixes & Enhancements (#2929) (e3a9f60)

  • Disabled / readonly addTag (#2923): Ignore tag selection while disabled or readonly, prevent pending async addTag promises from committing after disable, and style the add-tag row as disabled.
  • Custom placeholder templates (#2925): Wrap ng-placeholder-tmp in .ng-placeholder so custom placeholders hide while typing and inherit theme hiding and Material floating-label/notch styles.
  • ngOptionHighlight stale labels (#2918): Refresh highlighted option text synchronously when option content changes so recycled views always reflect the current label without corrupting nested markup.
  • Stable option identity tracking (#2909): Track dropdown options by stable, duplicate-safe item identity instead of array index so custom ng-option-tmp rows stay in sync when filtering while preserving DOM across immutable [items] updates.
  • Non-searchable select value click (#2865): Toggle the dropdown when clicking the selected value text while preserving drag-to-select copying and avoiding spurious blur / ng-touched on unfocused selects.
  • Overridable dropdown panel width (#2866): Drive the default panel width through --ng-select-width in a zero-specificity :where(.ng-dropdown-panel) rule so existing selects keep matching host width while consumer CSS (e.g. width: auto; min-width: var(--ng-select-width)) overrides cleanly without !important.
  • Programmatic template overrides (#2748): Expose template queries via linkedSignal so wrapper components can override templates programmatically with .set(...).
  • Opt-in keyboard access to option controls (#2284): Add [tabFocusOnOptionControls] (default false, configurable via NgSelectConfig) for Tab / Shift+Tab navigation into focusable controls inside the marked option while preserving composite focus and restoring focus on close.

Contributors

Thanks to everyone who contributed fixes and PRs to this release:

Don't miss a new ng-select release

NewReleases is sending notifications on new releases.