Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046698
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminoralways2021-05-17 16:542021-07-26 13:01
ReporterjavierRodriguezView Statuspublic 
Assigned Tojarmendariz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0046698: Keypad component allows to add characters in numeric inputs

DescriptionKeypad component is currently used to define some amount values in the application. In this moment, this amount values are always numeric but this component allows us to include characters using the keyboard.
Steps To Reproduce- Create a ticker
- Include a line
- Click in the line
- Click, inside the popover, in "Price Modification" option
- Tap some characters in your keyboard
- Check the input value
Proposed SolutionThis component use a custom hook called "useEditNumber". This hook should validate if it receive a valid key value and discard it if it is not a valid one.
TagsNo tags attached.
Attached Filespng file icon Captura de pantalla 2021-05-17 a las 16.41.15.png [^] (157,216 bytes) 2021-05-17 16:54

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046622 closedagonzalez [21Q2] The textbox to update the quantity does not limit the maximum amount 
related to defect 0047351 closedagonzalez Cashup numeric inputs are broken using the keyboard 

-  Notes
(0129426)
dbaz (developer)
2021-06-12 12:32

Any character different than a number or the decimal separator should be ignored (not written). This affects if the forbidden character is introduced by pressing a key in the physical keyboard or if it is pasted ( https://www.w3schools.com/jsref/event_onpaste.asp [^] )
(0130759)
dmiguelez (developer)
2021-07-26 13:01

Fixed by MergeRequest:
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/607 [^]

- Issue History
Date Modified Username Field Change
2021-05-17 16:54 javierRodriguez New Issue
2021-05-17 16:54 javierRodriguez Assigned To => Retail
2021-05-17 16:54 javierRodriguez File Added: Captura de pantalla 2021-05-17 a las 16.41.15.png
2021-05-17 16:54 javierRodriguez Resolution time => 1625522400
2021-05-17 16:54 javierRodriguez Triggers an Emergency Pack => No
2021-05-17 17:56 guilleaer Resolution time 1625522400 => 1627336800
2021-05-17 17:56 guilleaer Assigned To Retail => platform
2021-05-17 17:56 guilleaer Severity major => minor
2021-05-17 17:56 guilleaer Status new => acknowledged
2021-06-10 13:56 jarmendariz Assigned To platform => jarmendariz
2021-06-12 12:32 dbaz Note Added: 0129426
2021-07-15 01:11 jarmendariz Relationship added related to 0047351
2021-07-15 16:46 dmiguelez Resolution time 1627336800 => 1633039200
2021-07-15 17:57 dmiguelez Relationship added related to 0046622
2021-07-20 10:44 jarmendariz Status acknowledged => scheduled
2021-07-26 13:01 dmiguelez Note Added: 0130759
2021-07-26 13:01 dmiguelez Status scheduled => resolved
2021-07-26 13:01 dmiguelez Resolution open => fixed
2021-07-26 13:01 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker