Commit 07a46f6b authored by Muhammadali's avatar Muhammadali

update

parent 4ef05297
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.1.5", "version": "0.1.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -355,6 +355,7 @@ export class BoxDialer { ...@@ -355,6 +355,7 @@ export class BoxDialer {
const dialog = new BX.UI.EntitySelector.Dialog({ const dialog = new BX.UI.EntitySelector.Dialog({
// targetNode: button, // targetNode: button,
enableSearch: true, enableSearch: true,
multiple: false,
context: 'MY_MODULE_CONTEXT', context: 'MY_MODULE_CONTEXT',
entities: [ entities: [
{ {
...@@ -369,7 +370,7 @@ export class BoxDialer { ...@@ -369,7 +370,7 @@ export class BoxDialer {
const { item } = event.getData(); const { item } = event.getData();
const dialog = event.getTarget(); const dialog = event.getTarget();
const selectedItems = dialog.getSelectedItems(); const selectedItems = dialog.getSelectedItems();
console.log(item, selectedItems, 'select items') console.log(item, selectedItems, 'select items');
}, },
}, },
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment