Openbravo Issue Tracking System - POS2
View Issue Details
0056586POS2POSpublic2024-09-30 12:252024-10-17 13:15
ignacio_deandres 
ignacio_deandres 
normalminorhave not tried
closedfixed 
5
 
main 
No
0056586: Remove the X (clear input) in the InputComponents in the Request String process in SCO app mode
It would be nice to not have the X in the Input Components on the left side of the edit data view in the request string process in SCO (RequestStringEditDataViewSCO). Also, in the display data view, as the only way to edit these fields is in the edit data view (RequestStringDisplayDataViewSCO).
An array of this component is being used in the RequestString component, specifically in the RequestStringEditDataViewSCO which is loaded depending on the request by the RequestStringSCO component.
In this case, each selected input should be synchronized with the main InputComponent that is also loaded, but when the X button is pressed to clear the component, if something's written again (without selecting another input because this works well and you'll not be able to reproduce the issue), it will act as if nothing had happened, not removing the previous input.
Add the 'renderInputContent' in the InputComponent and in the calls made to it when necessary.
No tags attached.
related to feature request 0056341main closed ignacio_deandres SCO [Portugal + Spain]: Client API improvement - improve usability of this Customer Fiscal Data Collection popup in SCO 
Issue History
2024-09-30 12:25ignacio_deandresNew Issue
2024-09-30 12:25ignacio_deandresAssigned To => Triage Platform Conn
2024-09-30 12:25ignacio_deandresTriggers an Emergency Pack => No
2024-09-30 12:26ignacio_deandresRelationship addedrelated to 0056341
2024-10-01 16:22adrianromeroStatusnew => acknowledged
2024-10-11 08:23adrianromeroAssigned ToTriage Platform Conn => ignacio_deandres
2024-10-14 16:31ignacio_deandresCategoryCore => POS
2024-10-14 16:31ignacio_deandresSummaryBe able to control the ClearInputButton with parameters when calling the BaseFormInput component => Remove the X (clear input) in the InputComponents in the Request String process in SCO app mode
2024-10-14 16:31ignacio_deandresDescription Updatedbug_revision_view_page.php?rev_id=28587#r28587
2024-10-14 16:31ignacio_deandresProposed Solution updated
2024-10-14 16:50hgbotNote Added: 0170375
2024-10-14 16:52hgbotNote Added: 0170377
2024-10-17 13:14hgbotResolutionopen => fixed
2024-10-17 13:14hgbotStatusacknowledged => closed
2024-10-17 13:14hgbotNote Added: 0170541
2024-10-17 13:14hgbotNote Added: 0170542
2024-10-17 13:15hgbotNote Added: 0170543
2024-10-17 13:15hgbotNote Added: 0170544

Notes
(0170375)
hgbot   
2024-10-14 16:50   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/101 [^]
(0170377)
hgbot   
2024-10-14 16:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/merge_requests/86 [^]
(0170541)
hgbot   
2024-10-17 13:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^]
Changeset: 4d71be20642b68d09eb8e757c182e20cdbbcae1f
Author: Ignacio De Andrés <ignacio.deandres@openbravo.com>
Date: 17-10-2024 11:14:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/4d71be20642b68d09eb8e757c182e20cdbbcae1f [^]

FIXES ISSUE-56586: add renderInputContent function to control the ClearInputButton component in the BaseFormInput

---
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/RequestString/RequestStringDisplayDataViewSCO/RequestStringDisplayDataViewSCO.jsx
M web-jspack/org.openbravo.pos2.selfcheckout/src/components/RequestString/RequestStringEditDataViewSCO/RequestStringEditDataViewSCO.jsx
---
(0170542)
hgbot   
2024-10-17 13:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/101 [^]
(0170543)
hgbot   
2024-10-17 13:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client [^]
Changeset: e47168f24edf9012d6a2f1c82d37890a3dd34d45
Author: Ignacio De Andrés <ignacio.deandres@openbravo.com>
Date: 17-10-2024 11:14:58
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/commit/e47168f24edf9012d6a2f1c82d37890a3dd34d45 [^]

FIXES ISSUE-56586: added ability to control the renderInputContent parameter

---
M web-jspack/org.openbravo.events.client/src/components/InputComponent.jsx
M web-jspack/org.openbravo.events.client/src/components/RequestString.jsx
---
(0170544)
hgbot   
2024-10-17 13:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.events.client/-/merge_requests/86 [^]