Skip to content

[calcite-input-time-picker]: after setting the time picker value programmatically, clear the time value by removing the "AM"/"PM" label, the calciteInputTimePickerChange event will not be triggered. #12889

Description

@nanzhang01

monday.com sync: #18048608360

Check existing issues

Actual Behavior

  1. Change the time picker value programmatically.
  2. Clear the value by removing the "AM"/"PM" label in the picker,
  3. calciteInputTimePickerChange event is not triggered.

Image

In step 3, the calciteInputTimePickerChange event triggers when the value is cleared by removing the hours/minutes parts.

It appears to be similar to the issue: #12391, but this is a new one.

@fendiaoxiaoshuazi

Expected Behavior

calciteInputTimePickerChange event should be triggered after the value is changed by removing the "AM"/"PM" label in the picker.

Reproduction Sample

https://codepen.io/nan9266/pen/QwyLGmG?editors=1001

Reproduction Steps

See the "Actual Behavior" part for more details.

Reproduction Version

3.3.0-next.111

Relevant Info

No response

Regression?

No response

Priority impact

impact - p2 - want for an upcoming milestone

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Survey123

Metadata

Metadata

Assignees

Labels

5 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS Survey123Issues logged by ArcGIS Survey123 team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.estimate - 3A day or two of work, likely requires updates to tests.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestonep - mediumIssue is non core or affecting less that 60% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions