Openbravo Issue Tracking System - POS2
View Issue Details
0050992POS2Corepublic2022-10-10 08:372022-11-24 16:17
jonae 
javierRodriguez 
normalminorhave not tried
closedfixed 
5
 
22Q4.122Q4.1 
No
0050992: 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 => 22Q4.1
2022-11-24 11:04javierRodriguezAssigned Tojonae => javierRodriguez
2022-11-24 11:47hgbotNote Added: 0144100
2022-11-24 16:17hgbotResolutionopen => fixed
2022-11-24 16:17hgbotStatusscheduled => closed
2022-11-24 16:17hgbotNote Added: 0144117
2022-11-24 16:17hgbotFixed in Version => 22Q4.1
2022-11-24 16:17hgbotNote Added: 0144118

Notes
(0144100)
hgbot   
2022-11-24 11:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/926 [^]
(0144117)
hgbot   
2022-11-24 16:17   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/926 [^]
(0144118)
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: 4281b6ef9c1c818e3bb9c324409f9ccde283c3bc
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 24-11-2022 16:03:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/4281b6ef9c1c818e3bb9c324409f9ccde283c3bc [^]

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

---
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
---