Popup: do not require body text on input/confirm
| @@ -75,7 +75,7 @@ const showPopupHelper = { | ||
| 75 | 75 | * Asynchronously displays an input popup with the given header and text, and returns the user's input. |
| 76 | 76 | * |
| 77 | 77 | * @param {string?} header - The header text for the popup. |
| 78 | 78 | * @param {string?} [text] - The main text for the popup. |
| 79 | 79 | * @param {string} [defaultValue=''] - The default value for the input field. |
| 80 | 80 | * @param {PopupOptions} [popupOptions={}] - Options for the popup. |
| 81 | 81 | * @return {Promise<string?>} A Promise that resolves with the user's input. |
| @@ -94,7 +94,7 @@ const showPopupHelper = { | ||
| 94 | 94 | * Asynchronously displays a confirmation popup with the given header and text, returning the clicked result button value. |
| 95 | 95 | * |
| 96 | 96 | * @param {string?} header - The header text for the popup. |
| 97 | 97 | * @param {string?} [text] - The main text for the popup. |
| 98 | 98 | * @param {PopupOptions} [popupOptions={}] - Options for the popup. |
| 99 | 99 | * @return {Promise<POPUP_RESULT?>} A Promise that resolves with the result of the user's interaction. |
| 100 | 100 | */ |