diff --git a/src/app/components/listbox/listbox.ts b/src/app/components/listbox/listbox.ts index 10d6141cbce..c7fc759b464 100755 --- a/src/app/components/listbox/listbox.ts +++ b/src/app/components/listbox/listbox.ts @@ -392,7 +392,7 @@ export class Listbox implements AfterContentInit, OnInit, ControlValueAccessor, * Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean = true; + @Input() metaKeySelection: boolean = false; /** * A property to uniquely identify a value in options. * @group Props diff --git a/src/app/components/orderlist/orderlist.ts b/src/app/components/orderlist/orderlist.ts index 93f2cf3598b..b364408d466 100755 --- a/src/app/components/orderlist/orderlist.ts +++ b/src/app/components/orderlist/orderlist.ts @@ -221,7 +221,7 @@ export class OrderList implements AfterViewChecked, AfterContentInit { * When true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean = true; + @Input() metaKeySelection: boolean = false; /** * Whether to enable dragdrop based reordering. diff --git a/src/app/components/picklist/picklist.ts b/src/app/components/picklist/picklist.ts index 1dc877357b3..b4e24350d34 100755 --- a/src/app/components/picklist/picklist.ts +++ b/src/app/components/picklist/picklist.ts @@ -471,7 +471,7 @@ export class PickList implements AfterViewChecked, AfterContentInit { * Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean = true; + @Input() metaKeySelection: boolean = false; /** * Whether to enable dragdrop based reordering. * @group Props diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 2a8715b9e2d..f985bd765ab 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -474,7 +474,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable * Defines whether metaKey should be considered for the selection. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean | undefined = true; + @Input() metaKeySelection: boolean | undefined = false; /** * Defines if the row is selectable. * @group Props diff --git a/src/app/components/tree/tree.ts b/src/app/components/tree/tree.ts index 41f08ac5c4f..26571a10d2a 100755 --- a/src/app/components/tree/tree.ts +++ b/src/app/components/tree/tree.ts @@ -887,7 +887,7 @@ export class Tree implements OnInit, AfterContentInit, OnChanges, OnDestroy, Blo * Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean = true; + @Input() metaKeySelection: boolean = false; /** * Whether checkbox selections propagate to ancestor nodes. * @group Props diff --git a/src/app/components/treeselect/treeselect.ts b/src/app/components/treeselect/treeselect.ts index 2f579cbe859..f91cc1a390f 100755 --- a/src/app/components/treeselect/treeselect.ts +++ b/src/app/components/treeselect/treeselect.ts @@ -211,7 +211,7 @@ export class TreeSelect implements AfterContentInit { * Defines how multiple items can be selected, when true metaKey needs to be pressed to select or unselect an item and when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean = true; + @Input() metaKeySelection: boolean = false; /** * Defines how the selected items are displayed. * @group Props diff --git a/src/app/components/treetable/treetable.ts b/src/app/components/treetable/treetable.ts index ee0c2dd1e14..b948963f348 100755 --- a/src/app/components/treetable/treetable.ts +++ b/src/app/components/treetable/treetable.ts @@ -410,7 +410,7 @@ export class TreeTable implements AfterContentInit, OnInit, OnDestroy, Blockable * Defines whether metaKey is should be considered for the selection. On touch enabled devices, metaKeySelection is turned off automatically. * @group Props */ - @Input() metaKeySelection: boolean | undefined = true; + @Input() metaKeySelection: boolean | undefined = false; /** * Algorithm to define if a row is selected, valid values are "equals" that compares by reference and "deepEquals" that compares all fields. * @group Props