Skip to content

Commit

Permalink
notes added
Browse files Browse the repository at this point in the history
  • Loading branch information
second-slip committed Aug 28, 2023
1 parent fea433b commit 6cf357c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<p>{{ dateForm.valid | json}}</p>
</div> -->

<!-- previous implementations from create / update observation components -->

<!-- <div class="form-group adjust-size">
<label for="observationDateTime">Date & time</label>
<div class="date-time-control">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
import { NgbDate, NgbDateStruct, NgbTimeStruct } from '@ng-bootstrap/ng-bootstrap';
import { FormGroup } from '@angular/forms';

// ideally, it is better to write a proper validator
// but added complexity because the ngb controls are binded to NgbDate & NgbTimeStruct models

@Component({
selector: 'app-select-date-time',
templateUrl: './select-date-time.component.html',
Expand Down

0 comments on commit 6cf357c

Please sign in to comment.