Skip to Content
0

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

Feb 12 at 10:44 AM

19

avatar image
Former Member
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();
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Efim Parshin Feb 12 at 11:05 AM
1

Hi, it works fine, check code here:

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 12 at 11:09 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
0