What Should I Do If I Do Not Want to Close the Pop-up Window in the onOk Event on a Standard Page?
Description
I do not want to close the pop-up window in the onOk event on a standard page.

Solution
The onOK event is preset in the system and cannot prevent the window from closing. To address similar needs, set footerHide to true to hide the default function buttons in the pop-up window. This will allow the pop-up to use the function buttons from the service page, where you can implement logic for validation, prompts, and closing behavior within the button events.
context.$dialog.popup({ title: 'Title', page: '{{pagename}}', width: 600, height: 500, footerHide: true, //Modify the customized function buttons. showCancel: true, okText: 'ok', params: {}, });
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot