Skip to content

0.34.0 Breaking Changes

Platon Rov edited this page Dec 24, 2021 · 17 revisions

Tabs component PR #6940

  • Now tabs reflow based on ResizeObserver class instead of window resize event. As a fallback for old browsers which are not supporting ResizeObserver, it will fallback to window resize event.

Form container component / Form generator component PR #7243

  • labelLayout input property of the fdp-form-group component is now deprecated in favor of labelColumnLayout, fieldColumnLayout, gapColumnLayout input properties
  • Form generator now supports grouping of the fields. Any ungrouped form field will be stored under ungrouped group of the form. This is also applied to the Wizard generator. Use getFormControl(form, controlName) method of the FormGeneratorService to easily get needed control.
  • All custom form generator field components should additionally wrap form control component into <ng-container [formGroupName]="formGroupName">

Angular 13 migration #7210

Host application must be using Angular 13 or newer.

Platform select component refactoring #7338

platform-select component received the following updates:

  • source has been removed from FdpSelectionChangeEvent, FdpSelectionChangeEvent itself is now deprecated
  • valueChange output has been removed as it completely duplicates selectionChange output

Core pagination component aria-label inputs update #7428

  • currentPageAriaLabel previously wanted specific string with ${currentPage} inside of it to be passed, now replaced with the function with currentPage as the parameter.
  • pageLabel previously string value was expected, now replaced with the function with page as the parameter.
  • labelBeforeInputMobile (string), labelAfterInputMobile (function, pagesCount is the parameter), inputAriaLabel (function, currentPage, pagesCount are the parameters) were added for better a11y support.
Clone this wiki locally