Openbravo Issue Tracking System - POS2
View Issue Details
0046888POS2POSpublic2021-05-28 12:202021-06-11 07:28
caristu 
caristu 
normalminorhave not tried
closedfixed 
5
 
 
No
0046888: Focus is lost in form if on change function takes some time to be completed
Focus is lost in form if on change function takes some time to be completed
0. Apply the provided patch in the pos2 module which simulates a time costing operation in the on change function
1. Login as vallblanca in VBS-2
2. Go to "Customers" option and then to "New Customer" option
3. Click the "Name" field
5. Enter any valid value.
6. Click the "Last name" field. Notice that the form is put in read-only mode while the on change function is being completed. This is correct.
7. Once the on change function finishes, the form is enabled again, but the focus on the "Last name" field is lost.
No tags attached.
related to defect 0046396 closed prakashmurugesan88 [21Q2] When creating a new customer, the second field loses its focus 
depends on defect 0046471 closed jarmendariz JIRA 1594: CRM Connector, focus directly in the field with error 
related to defect 0046889 closed ebecerra Extra buttons are displayed in the customer form while on change operation is in progress 
diff reproducer.diff (1,021) 2021-05-28 12:21
https://issues.openbravo.com/file_download.php?file_id=15844&type=bug
Issue History
2021-05-28 12:20caristuNew Issue
2021-05-28 12:20caristuAssigned To => Retail
2021-05-28 12:20caristuResolution time => 1625781600
2021-05-28 12:20caristuTriggers an Emergency Pack => No
2021-05-28 12:20caristuIssue generated from0046396
2021-05-28 12:20caristuRelationship addedrelated to 0046396
2021-05-28 12:20caristuRelationship addeddepends on 0046471
2021-05-28 12:21caristuFile Added: reproducer.diff
2021-05-28 12:21caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22628#r22628
2021-05-28 12:24caristuIssue cloned0046889
2021-05-28 12:24caristuRelationship addedrelated to 0046889
2021-05-28 12:41caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22629#r22629
2021-06-07 10:55hgbotNote Added: 0129132
2021-06-07 16:01caristuIssue cloned0047012
2021-06-07 16:09caristuAssigned ToRetail => caristu
2021-06-11 07:28hgbotNote Added: 0129379
2021-06-11 07:28hgbotResolutionopen => fixed
2021-06-11 07:28hgbotStatusnew => closed
2021-06-11 07:28hgbotNote Added: 0129380

Notes
(0129132)
hgbot   
2021-06-07 10:55   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/544 [^]
(0129379)
hgbot   
2021-06-11 07:28   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/544 [^]
(0129380)
hgbot   
2021-06-11 07:28   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 9e8b3edd390fb4abb3f771764bcd41384f5f1762
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-06-11T07:27:23+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/9e8b3edd390fb4abb3f771764bcd41384f5f1762 [^]

fixes ISSUE-46888: avoid losing focus after on change execution

---
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
M web-jspack/org.openbravo.core2/src/components/Form/__test__/ConfigurableForm.test.jsx
---