Openbravo Issue Tracking System - POS2
View Issue Details
0050993POS2Corepublic2022-10-10 08:372022-11-24 16:17
jonae 
javierRodriguez 
normalminorhave not tried
closedfixed 
5
 
22Q3.322Q3.3 
No
0050993: askConfirmation API should have a configuration to avoid dismissing the dialog
Some functionalities needs to remove the X icon from the top right in order to maintain the window open till the user makes an action on the buttons. To do that a new parameter needs to be added to BaseDialog to remove that icon depending on it. By default would be false, so the icon will be shown.

Note that the X icon and the ability of closing the popup when clicking outside are two ways of doing the same: dismissing the dialog. So, when the X is not displayed, clicking outside should not close the dialog also.
Some functionalities needs to remove the X icon from the top right in order to maintain the window open till the user makes an action on the buttons. To do that a new parameter needs to be added to BaseDialog to remove that icon depending on it. By default would be false, so the icon will be shown.
Implement this ability in askConfirmation, askMultiOptionDialog and inputData APIs
No tags attached.
blocks feature request 0050458 closed jonae askConfirmation API should have a configuration to avoid dismissing the dialog 
Issue History
2022-11-24 11:03javierRodriguezTypefeature request => backport
2022-11-24 11:03javierRodriguezTarget Version => 22Q3.3
2022-11-24 11:04javierRodriguezAssigned Tojonae => javierRodriguez
2022-11-24 12:36hgbotNote Added: 0144105
2022-11-24 16:17hgbotResolutionopen => fixed
2022-11-24 16:17hgbotStatusscheduled => closed
2022-11-24 16:17hgbotNote Added: 0144115
2022-11-24 16:17hgbotFixed in Version => 22Q3.3
2022-11-24 16:17hgbotNote Added: 0144116

Notes
(0144105)
hgbot   
2022-11-24 12:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/927 [^]
(0144115)
hgbot   
2022-11-24 16:17   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/927 [^]
(0144116)
hgbot   
2022-11-24 16:17   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 1dc7d731a55ca3d8572186c9c14a62be2697211c
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 24-11-2022 16:05:34
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/1dc7d731a55ca3d8572186c9c14a62be2697211c [^]

Fixes BUG-50993: Support avoid dismissing the dialog in askConfirmation and inputData APIs

---
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/__test__/ConfirmationDialog.test.jsx
M web-jspack/org.openbravo.core2/src/components/ConfirmationDialog/stories/ConfirmationDialog.stories.jsx
M web-jspack/org.openbravo.core2/src/components/InputDataDialog/InputDataDialog.jsx
M web-jspack/org.openbravo.core2/src/components/MultiButtonStandardDialog/MultiButtonStandardDialog.jsx
M web-jspack/org.openbravo.core2/src/components/MultiOptionDialog/MultiOptionDialog.jsx
M web-jspack/org.openbravo.core2/src/components/MultiOptionDialog/__test__/MultiOptionDialog.test.jsx
M web-jspack/org.openbravo.core2/src/components/MultiOptionDialog/stories/MultiOptionDialog.stories.jsx
M web-jspack/org.openbravo.core2/src/components/StandardDialog/StandardDialog.jsx
M web-jspack/org.openbravo.core2/src/components/StandardInputDataDialog/StandardInputDataDialog.jsx
M web-jspack/org.openbravo.core2/src/components/StandardInputDataDialog/__test__/StandardInputDataDialog.test.jsx
M web-jspack/org.openbravo.core2/src/components/StandardInputDataDialog/stories/StandardInputDataDialog.stories.jsx
---