Openbravo Issue Tracking System - POS2
View Issue Details
0046396POS2POSpublic2021-04-28 14:092021-07-05 12:03
plujan 
prakashmurugesan88 
normalminorhave not tried
closedfixed 
5
 
 
No
0046396: [21Q2] When creating a new customer, the second field loses its focus
When creating a new customer, after filling the "Name" field, the next field does not get the focus. See steps.
1. In livebuilds enter as vallblanca in VBS-2
2. Go to "Customers" option and then to "New Customer" option
3. In the pop up, notice there is not a default selected field.
4. Click the "Name" field, notice the cursor is shown in this field.
5. Enter any valid value.
6. Click the "Last name" field. Notice the cursor is not shown.
7. Click the "Last name" field again. Notice that now the cursor is shown.

Beahviour of steps 6 and 7 applies to any field clicked after the first field is filled.
No tags attached.
has duplicate defect 0046762 closed platform Clicking or using TAB key to access to some fields from New Customer popup works wrong 
related to defect 0046888 closed caristu Focus is lost in form if on change function takes some time to be completed 
png NewCustomerName.png (56,682) 2021-04-28 14:09
https://issues.openbravo.com/file_download.php?file_id=15592&type=bug
png
Issue History
2021-04-28 14:09plujanNew Issue
2021-04-28 14:09plujanAssigned To => Retail
2021-04-28 14:09plujanFile Added: NewCustomerName.png
2021-04-28 14:09plujanTriggers an Emergency Pack => No
2021-04-29 09:42guilleaerResolution time => 1622066400
2021-04-30 09:37guilleaerStatusnew => acknowledged
2021-05-25 16:54prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2021-05-25 16:54prakashmurugesan88Statusacknowledged => scheduled
2021-05-27 09:53guilleaerRelationship addedhas duplicate 0046762
2021-05-28 12:20caristuIssue cloned0046888
2021-05-28 12:20caristuRelationship addedrelated to 0046888
2021-06-02 12:20hgbotNote Added: 0128931
2021-06-03 10:36hgbotResolutionopen => fixed
2021-06-03 10:36hgbotStatusscheduled => closed
2021-06-03 10:36hgbotNote Added: 0128999
2021-06-03 10:36hgbotNote Added: 0129000
2021-07-05 12:03jarmendarizIssue cloned0047329
2021-07-05 12:11jarmendarizRelationship addedrelated to 0047329

Notes
(0128931)
hgbot   
2021-06-02 12:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/534 [^]
(0128999)
hgbot   
2021-06-03 10:36   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 66dcfe86ac133bd1a3f887f6812adfbe6cb2e6bb
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-06-03T08:35:03+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/66dcfe86ac133bd1a3f887f6812adfbe6cb2e6bb [^]

Fixed BUG-46396: Fixes issue in create customer form where focus on a field is lost
* Issue occurs while focusing on a field after entering previous field
* Issue occurs as form is disabled when on change hooks are executed
* When is re enabled focus is lost
* Fixed by skipping disabled mode if on change function does not take a lot of time

---
M web-jspack/org.openbravo.core2/src/components/BaseFormCheckbox/__test__/BaseFormCheckbox.test.jsx
M web-jspack/org.openbravo.core2/src/components/BaseFormCheckbox/__test__/deselectCheckbox.js
M web-jspack/org.openbravo.core2/src/components/BaseFormCheckbox/__test__/selectCheckbox.js
M web-jspack/org.openbravo.core2/src/components/BaseFormCheckbox/stories/BaseFormCheckbox.stories.jsx
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
---
(0129000)
hgbot   
2021-06-03 10:36   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/534 [^]