Skip to content

0.18.0 Breaking Changes and Features

jmarkowski edited this page Jun 3, 2020 · 2 revisions

Breaking Changes

Busy Indicator

  • @Input loadingLabel renamed to @Input ariaLabel

Select

  • [triggerTemplate] input has been replaced with [controlTemplate] input offering similar but narrower functionality.

Before:

<fd-select [triggerTemplate]="customTrigger">
        <fd-option *ngFor="let option of options" [value]="option">{{option}}</fd-option>
</fd-select>

<ng-template #customTrigger let-select>
    Custom template
</ng-template>

After:

<fd-select [controlTemplate]="customSelectTemplate">
        <fd-option *ngFor="let option of options" [value]="option">{{option}}</fd-option>
</fd-select>

<ng-template #customSelectTemplate let-optionText let-option="option">
    Custom template
</ng-template>

Features

Busy Indicator

  • Busy indicator now can be used as wrapper for content

Notification

  • new @Input closeNotificationLabel on NotificationHeader

Product Switch

  • new @Input 'ariaLabel'
Clone this wiki locally