@ng-bootstrap/ng-bootstrap
Advanced tools
Changelog
1.0.0-alpha.29 (2017-07-25)
NgbButtonsModule
changed location (path) and content. This path
might need adjusting for people importing individual modules.
Before: import {NgbButtonsModule} from './buttons/radio.module'
After: import {NgbButtonsModule} from './buttons/buttons.module'
The NgbButtonsModule
now contains both checkbox and radio buttons.
Before:
<div [(ngModel)]="model" ngbRadioGroup>
<label class="btn">
<input type="radio" name="radio" [value]="values[0]"/> {{ values[0] }}
</label>
<label class="btn">
<input type="radio" name="radio" [value]="values[1]"/> {{ values[1] }}
</label>
</div>
After:
<div [(ngModel)]="model" ngbRadioGroup>
<label ngbButtonLabel>
<input ngbButton type="radio" name="radio" [value]="values[0]"/> {{ values[0] }}
</label>
<label ngbButtonLabel>
<input ngbButton type="radio" name="radio" [value]="values[1]"/> {{ values[1] }}
</label>
</div>
Notice new ngbButtonLabel
and ngbButton
attributes that act as new selectors.
<a name="1.0.0-alpha.28"></a>
Changelog
1.0.0-alpha.28 (2017-07-11)
ChangeDetectionStrategy.OnPush
now for most of the internal implementation.
Things like the dynamic internationalization or calendar change might not work anymore as these are injected services. Any internal changes in these services in runtime will not trigger datepicker re-rendering.<a name="1.0.0-alpha.27"></a>
Changelog
1.0.0-alpha.27 (2017-06-30)
<a name="1.0.0-alpha.26"></a>
Changelog
1.0.0-alpha.24 (2017-04-22)
role="group"
to radio group (c847a92), closes #1503<a name="1.0.0-alpha.23"></a>
Changelog
1.0.0-alpha.23 (2017-04-12)
<a name="1.0.0-alpha.22"></a>
Changelog
1.0.0-alpha.22 (2017-03-24)
This is a small release that contains peerDependencies adjustments needed to support Angular 4.x. This library was tested with the latest Angular and now fully supports both 4.x and 2.x.
<a name="1.0.0-alpha.21"></a>
Changelog
1.0.0-alpha.21 (2017-03-15)
ngbModalContainer
directive is no longer needed and was
removed from this project. Just remove any references to the
<template ngbModalContainer></template>
from your projects.<a name="1.0.0-alpha.20"></a>
Changelog
1.0.0-alpha.20 (2017-02-02)
<a name="1.0.0-alpha.19"></a>