cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos
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();

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member233511
Participant

Hi, it works fine, check code here:

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

0 Kudos

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