Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui5-step-input fires 2 change events when 0 is cleared #3457

Closed
1 of 4 tasks
agauyeung opened this issue Jun 22, 2021 · 1 comment · Fixed by #3474
Closed
1 of 4 tasks

ui5-step-input fires 2 change events when 0 is cleared #3457

agauyeung opened this issue Jun 22, 2021 · 1 comment · Fixed by #3474
Assignees
Labels
bug This issue is a bug in the code High Prio SAP SF TOPIC B

Comments

@agauyeung
Copy link

Bug Description

The step input component fires 2 change events when the 0 is manually cleared to empty.

Expected Behavior

The number should still change back to 0 but no change event should be fired.

Steps to Reproduce

  1. Go to the code sandbox below.
  2. Highlight the 0 inside the step input and delete it.
  3. Click outside of the step input.
  4. Issue: A change event is fired.
  5. Issue: A second change event is fired.
  6. 0 is automatically placed back into the step input box.

Isolated Example

If possible, please provide an isolated example by forking CodeSandbox.

Context

  • UI5 Web Components version: 0.29.19
  • OS/Platform: Windows
  • Browser: Chrome
  • Affected component: Step Input

Priority

  • Low
  • Medium
  • High
  • Very High

Note: The priority might be re-evaluated by the issue processor.

Stakeholder Info (if applicable)

  • Organization: SuccessFactors
@NHristov-sap NHristov-sap self-assigned this Jun 23, 2021
@NHristov-sap NHristov-sap added bug This issue is a bug in the code Medium Prio TOPIC B High Prio and removed Medium Prio labels Jun 23, 2021
@NHristov-sap NHristov-sap added this to New Issues in Maintenance - Topic B via automation Jun 23, 2021
@NHristov-sap
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-b,

The issue is reproducible, please take care of it.

Best Regards,
Nikolay Hristov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code High Prio SAP SF TOPIC B
Projects
Development

Successfully merging a pull request may close this issue.

4 participants