CoreUI PRO for Angular v5.7.44 - Smart Table Selection, Date and Time Picker Overhaul, Angular 22.3.0

CoreUI PRO for Angular v5.7.44 - Smart Table Selection, Date and Time Picker Overhaul, Angular 22.3.0

We are pleased to announce the release of CoreUI PRO for Angular v5.7.44. This release rolls up everything shipped since v5.7.32: a bound selection model for the Smart Table, a keyboard, parsing and accessibility overhaul of the Calendar, Date Picker, Date Range Picker and Time Picker, an Autocomplete that binds through a value accessor again, and alignment with Angular 22.3.0, which is now the minimum supported version. Several changes alter behavior - see the Migration Notes.


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 to CoreUI PRO for Angular v5.7.44, run:

ng update @angular/[email protected] @angular/[email protected] @angular/[email protected] @coreui/coreui-pro@~5.29.2 @coreui/angular-pro@~5.7.44 @coreui/icons-angular@~5.7.44
  • Please ensure that there are no error messages in the results.
  • Download the latest PRO packages from CoreUI Downloads.

What’s New

Smart Table: Selection Model

  • Bind [(selectedItems)] to follow and set the selection. selectedItemsChange now carries the objects passed in items or selectedItems, in the order they were selected.
  • itemKey names the field that identifies a record: a selected record stays selected, and keeps its row, when items brings a new object for it, and a saved selection can be restored by key.
  • New rowChecked and selectAllClick outputs report the user’s click before selectedItemsChange.
  • Filters, the selection checkboxes and the cleaner have accessible names.

More Smart Table Improvements

  • Rows are kept with their records across list changes instead of being recreated.
  • pagination off, binding writes without echo, a bound page kept with filters, and the page reset after filtering.
  • Empty column filter values are skipped, and the items per page fall back to 10.
  • The items per page select is named with its label, noItemsLabel renders a template, and itemsPerPageSelect.external is honored.
  • tableDetails receives the same index as rowClick.

Calendar, Date Picker and Date Range Picker

  • Keyboard: the calendar has one Tab stop per month grid, grid / gridcell roles with aria-* state, Page Up / Page Down, Home / End and right-to-left mirroring. Alt+ArrowDown in the input opens the picker with the focus in the calendar, and focus returns to the input the picker was opened from.
  • Accessible names: new monthFormat and yearFormat name month and year cells in full for screen readers; ariaPickerLabel and ariaCleanerLabel name the picker and the cleaner, which are now keyboard buttons; the calendar button is named with the picked date.
  • Typed dates: the inputs read typed dates in the numeric format of the locale, only text that names a day is read, and an invalid date is reported with the datePickerParse validator error. The digits-only pattern was dropped from the inputs.
  • Selection: week, month and year selection show in the input, week selection marks the range end week, the range preview is cleared when leaving a day, and previewDateOnHover (default true) previews the hovered or focused date in the input fields.
  • Forms: the control is marked touched when the user leaves the picker, user changes reach the form synchronously, values written by the form no longer mark the control dirty, and aria-invalid has one writer on the inputs.

Time Picker

  • One locale-aware parser reads typed and bound time strings, and roll labels work in locales that do not separate time with a colon.
  • Named roll columns, Home / End, arrows and Enter between columns, right-to-left column order, and Alt+ArrowDown opens the menu.
  • A user change is reported once, with the time after the form handled it, and a form write no longer reports back to the form.
  • Filters no longer throw, and focus returns to the input when the menu closes from inside.

Autocomplete

  • ngModel, formControl and formControlName bind through a value accessor again, so validators declared in the template (required, …) apply again and the valid input is no longer overwritten by the form.
  • value is an input with a valueChange output; a value written by the form does not emit valueChange, while value.set() from code with a different value does and updates a bound form control.
  • Blur writes the committed option or text before touch, so a control with updateOn: 'blur' gets the value on the first blur.
  • resetSelectionOnOptionsChange clears only a selected option that is missing from a new non-empty options list.

Stepper, Loading Button and More

  • Stepper: new stepValidationComplete output with the step number and the validation result; reset(), refused moves and the initial step are fixed.
  • Loading Button applies shape.
  • Multi Select accepts selectionLimit as a static attribute, shows projected options built after the first check, and Escape on an open list without search leaves an enclosing modal, offcanvas or dropdown open.
  • Range Slider labels stay in place after server-side rendering hydration.
  • aria-invalid follows valid on the Password Input, Autocomplete, One Time Password, Time Picker and Multi Select.
  • Date Picker, Date Range Picker and Time Picker ignore keys replayed after hydration.

Also in This Release

CoreUI PRO for Angular v5.7.44 includes everything from CoreUI for Angular v5.7.44: the new Chip, Chip Set and Chip Input components, keyboard, focus and screen reader fixes across Dropdown, Modal, Offcanvas, Tabs, Tooltip and Popover, the new Modal closePrevented output, server-side rendering fixes, and the new @angular/build:library builder.

Dependency Updates

We have updated key dependencies to their latest compatible versions for CoreUI PRO for Angular v5.7.44:

Angular Core Updates

  • @angular/aria to: 22.3.0
  • @angular/cdk to: 22.3.0
  • @angular/common to: 22.3.0
  • @angular/compiler to: 22.3.0
  • @angular/core to: 22.3.0
  • @angular/forms to: 22.3.0
  • @angular/localize to: 22.3.0
  • @angular/platform-browser to: 22.3.0
  • @angular/router to: 22.3.0

Angular Development Tools

  • @angular-devkit/schematics to: 22.3.0
  • @angular/build to: 22.3.0
  • @angular/cli to: 22.3.0
  • @angular/compiler-cli to: 22.3.0
  • @angular/language-service to: 22.3.0
  • ng-packagr removed (replaced by @angular/build:library)

Development Tools

  • @vitest/coverage-v8 to: 5.1.1
  • @vitest/ui to: 5.1.1
  • angular-eslint to: 22.8.0
  • eslint to: 10.15.0
  • typescript-eslint to: 8.73.0
  • vitest to: 5.1.1

Migration Notes

After upgrading, install the updated dependencies, run your test suite and verify the build. Then check:

  1. Angular 22.3 and CoreUI PRO 5.29.2 are required. The peer dependencies require @angular/* ^22.3.0 and @coreui/coreui-pro ^5.29.2.
  2. Autocomplete forms and value: ngModel, formControl and formControlName bind through NG_VALUE_ACCESSOR again, and the public type of value is WritableSignal (was ModelSignal). [(value)] keeps working through the value input and the valueChange output.
  3. Smart Table selection: selectedItemsChange emits the objects you passed in items or selectedItems, where earlier versions emitted the table’s internal copies of the rows. rowClick, filteredItemsChange and the tableData and tableDetails templates still pass the copies, so compare them by the itemKey value. _selected on an item is read only once, from the first non-empty items - prefer selectedItems.
  4. Date Picker and Date Range Picker writes: only user changes and startDateModel.set() / endDateModel.set() report a change; writeValue, the [value] input and the date inputs write silently, and [value] now sets the dates. startDateModel and endDateModel are WritableSignal & OutputRef (were ModelSignal).
  5. Date Picker and Date Range Picker deprecations: the value setter (now silent), valueModel, the startDateChange / endDateChange observables, and startTime / endTime - the picker keeps the local time of a date, so read it from startDate() and endDate().
  6. Typed input: the digits-only pattern is gone from the date inputs and the native pattern from the time input; an invalid typed date is reported with the datePickerParse validator error.
  7. Time Picker: a value written by the form no longer calls back into the form or emits timeChange, and a time without a date is set on 1 January 1970.
  8. Dropdown popperOptions now replaces the previous value instead of merging into it, and generated element ids changed format - see the CoreUI for Angular v5.7.44 notes.

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.