Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Reactive form demos for datepicker and timepicker #2204

Merged
merged 16 commits into from
Jan 8, 2019

Conversation

blackbaud-conorwright
Copy link
Contributor

Issue: #2180
Docs: N/A

@codecov-io
Copy link

codecov-io commented Nov 30, 2018

Codecov Report

Merging #2204 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2204   +/-   ##
=======================================
  Coverage   98.34%   98.34%           
=======================================
  Files          22       22           
  Lines         121      121           
  Branches       12       12           
=======================================
  Hits          119      119           
  Misses          2        2

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f50553...ec24218. Read the comment docs.

Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing.

@Blackbaud-SteveBrush Blackbaud-SteveBrush self-assigned this Jan 2, 2019
Copy link
Contributor

@Blackbaud-AlexKingman Blackbaud-AlexKingman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks great. I have some suggestions on improving the demo a tad. What do you think?


<h3>
Reactive form timepicker
</h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make these headers consistent with the date demo? I noticed they're all <h2 class="sky-section-heading”>, while all the headers on this page are using <h3>.

this.selectedTime1 = undefined;
this.reactiveTime.setValue(undefined);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The button that calls this method is labeled Clear selected times, but it only clears the 1st and last selected times. Should it clear them all?

[formGroup]="reactiveForm"
>
<sky-timepicker
#timePickerExample4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these template tags be a little more descriptive instead of 1-2-3-4? Something like #reactivePicker?

Copy link
Contributor

@Blackbaud-AlexKingman Blackbaud-AlexKingman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 🇮🇹

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 633f789 into master Jan 8, 2019
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the datepicker-timepicker-reactive-demos branch January 8, 2019 14:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants