Openbravo Issue Tracking System - POS2
View Issue Details
0046483POS2Corepublic2021-05-04 13:262021-06-21 09:41
alostale 
jarmendariz 
normaltrivialhave not tried
closedfixed 
5
 
 
No
0046483: mandatory fields keep error status while typing
When trying to submit a form with a mandatory field without value, it correctly marks the field in red indicating the value is missing. But when the user starts typing in the field, it remains in red and the message is still shown.
1. Log in pos2
2. Open Customers window
3. Click on New Customer
4. Click on save and assign button, leaving name field empty
   -> OK: Name is in red and "Name is required" message appears below
5. Start typing the name
   -> ERROR: The message field remains in red and the message still appears
No tags attached.
related to defect 0046484 closed jarmendariz different styles in mandatory fields error status 
png Selection_155.png (4,324) 2021-05-04 13:27
https://issues.openbravo.com/file_download.php?file_id=15634&type=bug
png

png Selection_156.png (4,941) 2021-05-04 13:27
https://issues.openbravo.com/file_download.php?file_id=15635&type=bug
png
Issue History
2021-05-04 13:26alostaleNew Issue
2021-05-04 13:26alostaleAssigned To => Retail
2021-05-04 13:26alostaleTriggers an Emergency Pack => No
2021-05-04 13:26alostaleSummarymandatory fields keep in error status while typing => mandatory fields keep error status while typing
2021-05-04 13:27alostaleFile Added: Selection_155.png
2021-05-04 13:27alostaleFile Added: Selection_156.png
2021-05-04 13:28alostaleAssigned ToRetail => platform
2021-05-04 13:28alostaleStatusnew => acknowledged
2021-05-04 13:34alostaleRelationship addedrelated to 0046484
2021-05-04 13:36alostaleSeverityminor => trivial
2021-06-10 18:17jarmendarizAssigned Toplatform => jarmendariz
2021-06-10 18:17jarmendarizStatusacknowledged => scheduled
2021-06-11 10:59hgbotNote Added: 0129406
2021-06-21 09:41hgbotResolutionopen => fixed
2021-06-21 09:41hgbotStatusscheduled => closed
2021-06-21 09:41hgbotNote Added: 0129681
2021-06-21 09:41hgbotNote Added: 0129682

Notes
(0129406)
hgbot   
2021-06-11 10:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/553 [^]
(0129681)
hgbot   
2021-06-21 09:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 14d4ea718fb647290b66d5135930fadb14371931
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 2021-06-21T07:41:05+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/14d4ea718fb647290b66d5135930fadb14371931 [^]

Fixed ISSUE-46483: Fields keep in error state even after changing its contents

---
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
M web-jspack/org.openbravo.core2/src/components/Form/__test__/ConfigurableForm.test.jsx
M web-jspack/org.openbravo.core2/src/components/Form/field-type/FormFieldType.js
---
(0129682)
hgbot   
2021-06-21 09:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/553 [^]