Skip to Content
avatar image
Former Member

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 comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 12 at 11:05 AM

    Hi, it works fine, check code here:

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 12 at 11:09 AM

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

    Add comment
    10|10000 characters needed characters exceeded