Openbravo Issue Tracking System - POS2
View Issue Details
0052305POS2Corepublic2023-05-02 12:212023-05-04 19:41
gorka_gil 
gorka_gil 
highminorN/A
closedfixed 
5
 
23Q3 
approved
No
No
0052305: Allow to customize style of parameters of an ask confirmation dialog
AskConfirmation dialog is missing the variantClass and the wrapTextParams parameters.
-
No tags attached.
Issue History
2023-05-02 12:21gorka_gilNew Issue
2023-05-02 12:21gorka_gilAssigned To => gorka_gil
2023-05-02 12:21gorka_gilOBNetwork customer => No
2023-05-02 12:21gorka_gilTriggers an Emergency Pack => No
2023-05-02 12:27hgbotMerge Request Status => open
2023-05-02 12:27hgbotNote Added: 0149121
2023-05-04 17:31hgbotMerge Request Statusopen => merged
2023-05-04 17:31hgbotNote Added: 0149307
2023-05-04 17:31hgbotResolutionopen => fixed
2023-05-04 17:31hgbotStatusnew => resolved
2023-05-04 17:31hgbotFixed in Version => 23Q3
2023-05-04 17:31hgbotNote Added: 0149308
2023-05-04 17:32hgbotMerge Request Statusmerged => approved
2023-05-04 19:41gorka_gilStatusresolved => closed

Notes
(0149121)
hgbot   
2023-05-02 12:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1070 [^]
(0149307)
hgbot   
2023-05-04 17:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1070 [^]
(0149308)
hgbot   
2023-05-04 17:31   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 0b7ba34da5d504e2a6cb2a00ab35dbe2fa487f12
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 04-05-2023 15:30:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/0b7ba34da5d504e2a6cb2a00ab35dbe2fa487f12 [^]

Fixed ISSUE-52305: add variantClass and warpTextParamas to askConfirmation

If wrapTextParams is passed to the confirmation dialog, all params will be wrapped in a div that contains the obc2BaseDialog-text-label-param-x class (x being the index of the param starting on 1). If we additionally pass to the confirmation dialog also a variantClass, it will be easy to define the style of those parameters in that particular confirmation dialog.

---
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/ConfirmationDialog.jsx
M web-jspack/org.openbravo.core2/src/components/StandardDialog/StandardDialog.jsx
---