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

ZEVA - Fix Unwanted Zero in Total LDV Sales/Supplied Field on Compliance Obligation Page #2399

Open
3 tasks
shayjeff opened this issue Dec 18, 2024 · 0 comments
Assignees
Labels
Low Low priority Task Any work that does not directly impact the user

Comments

@shayjeff
Copy link
Collaborator

shayjeff commented Dec 18, 2024

Describe the task
Address the issue where a zero ("0") automatically appears in the Total LDV Sales/Supplied field on the Compliance Obligation page of the model year report when a user deletes the entered value.

For example:

  • If a user starts entering "500" but deletes it to correct the value to "550," a "0" appears in the field after deletion the final input becomes "0550."

Although this does not affect the ability to submit the form, the zero should not automatically appear when the field is cleared. Users should be able to erase the value entirely before entering a new one.

Purpose
Allow the user to enter a value in the Total LDV Sales/Supplied field without an unwanted zero automatically being added when the field is cleared or edited.

Acceptance Criteria

  • When the user deletes a number in the Total LDV Sales/Supplied field, the field should remain blank rather than automatically adding a "0."
  • Users can freely enter values without the system inserting an unwanted leading zero.
  • This fix applies only to the Compliance Obligation page on the model year report.

Additional context

  • The unwanted zero does not affect form submission but should be removed for better user experience.

Screenshot from dev site:

@shayjeff shayjeff changed the title Task ZEVA - Fix Unwanted Zero in Total LDV Sales/Supplied Field on Compliance Obligation Page Dec 18, 2024
@ArawuSamuel1 ArawuSamuel1 added Task Any work that does not directly impact the user Low Low priority labels Dec 18, 2024
@rogerlcleung rogerlcleung self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Low Low priority Task Any work that does not directly impact the user
Projects
None yet
Development

No branches or pull requests

3 participants