Skip to content

Commit

Permalink
feat(datepicker): addressing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Leotheluck authored and dpellier committed Oct 4, 2023
1 parent c33cd08 commit c8664f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { EventEmitter } from '@stencil/core';

interface OdsDatepickerValueChangeEventDetail {
value: Date | undefined | null;
value?: Date | null;
oldValue?: Date | null;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class OsdsDatepicker implements OdsDatepickerAttribute, OdsDatepickerEven
@Prop({ reflect: true }) placeholder?: string = DEFAULT_ATTRIBUTE.placeholder;

/** @see OdsDatepickerAttribute.value */
@Prop({ reflect: true, mutable: true }) value?: Date | undefined | null = DEFAULT_ATTRIBUTE.value;
@Prop({ reflect: true, mutable: true }) value?: Date | null = DEFAULT_ATTRIBUTE.value;

/** Events */

Expand Down

0 comments on commit c8664f8

Please sign in to comment.