1.0.1 • Published 12 months ago

@agape/ng-mat-datetime-control v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@agape/ng-mat-datetime-control

Datetime input field for Angular Material

Synopsis

import { AgMatDatetimeControlModule } from '@agape/ng-mat-datetime-control'


@NgModule({
    imports: [
        AgMatDatetimeControlModule
    ]
})
<ag-mat-datetime-control
    dateLabel="Date"
    timelabel="Time"
    [required]="false"
    [(ngModel)]="modelValue"
>
</ag-mat-datetime-control>

Description

Accepts a javascript Date as a model value and renders separate form controls for the date and time components of a datetime.

Author

Maverik Minett maverik.minett@gmail.com

Copyright

© 2023 Maverik Minett

License

MIT

1.0.1

12 months ago

1.0.0

1 year ago