bs-datepicker is a date field with a month-grid popup and two-way [(selectedDate)] binding and an optional [disableDateFn] for blocking specific dates. With JavaScript off it is a native date field.
import { Component, signal } from '@angular/core';import { BsDatepickerComponent } from '@mintplayer/ng-bootstrap/datepicker';@Component({ selector: 'my-datepicker-demo', templateUrl: './my-datepicker-demo.component.html', imports: [BsDatepickerComponent],})export class MyDatepickerDemoComponent { protected readonly selectedDate = signal(new Date());}
Copied!
Angular forms
Template-driven [(ngModel)] and reactive [formControl] both bind through the component's ControlValueAccessor: the value, the disabled state, and touched when focus leaves.
Template-driven
November 2026
Week
Mon
Tue
Wed
Thu
Fri
Sat
Sun
44
1
45
2
3
4
5
6
7
8
46
9
10
11
12
13
14
15
47
16
17
18
19
20
21
22
48
23
24
25
26
27
28
29
49
30
Value: "2026-11-21T19:27:44.536Z"
dirty: false · touched: false · disabled: false
Reactive
November 2026
Week
Mon
Tue
Wed
Thu
Fri
Sat
Sun
44
1
45
2
3
4
5
6
7
8
46
9
10
11
12
13
14
15
47
16
17
18
19
20
21
22
48
23
24
25
26
27
28
29
49
30
Value: "2026-11-21T19:27:44.536Z"
dirty: false · touched: false · disabled: false
<!-- template-driven (FormsModule) --><bs-datepicker [(ngModel)]="value"></bs-datepicker><!-- reactive (ReactiveFormsModule): control = new FormControl(...) --><bs-datepicker [formControl]="control"></bs-datepicker>