Skip to content

[Bug]: IgcDatePicker - igcChange event is not triggered when the clear button is clicked #1884

@mkamiishi

Description

@mkamiishi

Which component(s) are affected?

Date picker

Description

For IgcDatePicker with mode="dialog", igcChange event is not triggered when the clear button is clicked.

Reproduction

  1. Go to the sample https://codesandbox.io/p/devbox/damp-sun-q624vl?workspaceId=ws_Wca1rSR5QWnYWuPzcJ6uNq
  2. Click the clear button on IgbDatePicker.
  3. Observe the browser console.

Actual Result:
No output on the console.

Expected Result:
"igcChange" appears on the console.

Workaround

I have worked around this problem by templating a clear button.

Is this a regression?

No or unsure. This never worker, or I haven't tried before.

Affected versions

Failing in 6.3.2

Browser/OS/Node environment

Chrome: 141.0.7390.65

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions