Openbravo Issue Tracking System - POS2
View Issue Details
0046698POS2Corepublic2021-05-17 16:542021-07-26 13:01
javierRodriguez 
jarmendariz 
normalminoralways
closedfixed 
5
 
pi 
No
0046698: Keypad component allows to add characters in numeric inputs
Keypad 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.
- 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
This 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.
No tags attached.
related to defect 0046622 closed agonzalez [21Q2] The textbox to update the quantity does not limit the maximum amount 
related to defect 0047351 closed agonzalez Cashup numeric inputs are broken using the keyboard 
png Captura de pantalla 2021-05-17 a las 16.41.15.png (157,216) 2021-05-17 16:54
https://issues.openbravo.com/file_download.php?file_id=15750&type=bug
png
Issue History
2021-05-17 16:54javierRodriguezNew Issue
2021-05-17 16:54javierRodriguezAssigned To => Retail
2021-05-17 16:54javierRodriguezFile Added: Captura de pantalla 2021-05-17 a las 16.41.15.png
2021-05-17 16:54javierRodriguezResolution time => 1625522400
2021-05-17 16:54javierRodriguezTriggers an Emergency Pack => No
2021-05-17 17:56guilleaerResolution time1625522400 => 1627336800
2021-05-17 17:56guilleaerAssigned ToRetail => platform
2021-05-17 17:56guilleaerSeveritymajor => minor
2021-05-17 17:56guilleaerStatusnew => acknowledged
2021-06-10 13:56jarmendarizAssigned Toplatform => jarmendariz
2021-06-12 12:32dbazNote Added: 0129426
2021-07-15 01:11jarmendarizRelationship addedrelated to 0047351
2021-07-15 16:46dmiguelezResolution time1627336800 => 1633039200
2021-07-15 17:57dmiguelezRelationship addedrelated to 0046622
2021-07-20 10:44jarmendarizStatusacknowledged => scheduled
2021-07-26 13:01dmiguelezNote Added: 0130759
2021-07-26 13:01dmiguelezStatusscheduled => resolved
2021-07-26 13:01dmiguelezResolutionopen => fixed
2021-07-26 13:01dmiguelezStatusresolved => closed

Notes
(0129426)
dbaz   
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   
2021-07-26 13:01   
Fixed by MergeRequest:
https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/607 [^]