Skip to Content

SAPUI5 Checkbox click event is not working inside of the dialog.

var dialog = new sap.m.Dialog({
title: 'Confirm',
type: 'Message',
content: [
          new sap.m.CheckBox({ 
              text: 'Send to Accounting Approvement', 
              select: function(evt){
                   console.log("Accounting Approvement is fired ! ");
           }}}),
          new sap.m.CheckBox({ 
               text: 'Send to Production Approvement', 
               select: function(evt){
                    console.log("Production Approvement is fired ! ");
           }}),
           new sap.m.CheckBox({ 
                text: 'Send to Warehouse Approvement' , 
                select: function(evt){
                    console.log("Warehouse Approvement is fired ! ");
           }})]
});
dialog.open();
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 12, 2018 at 11:05 AM

    Hi, it works fine, check code here:

    https://jsbin.com/pebetecimo/edit?html,output

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 12, 2018 at 11:09 AM

    I think the console.log() is not working in dialog box but thank you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.