Skip to content

Commit

Permalink
metaKeySelection default type is changed as false
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Jan 3, 2024
1 parent f955d12 commit 6b47d10
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/components/listbox/listbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/orderlist/orderlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/picklist/picklist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/treeselect/treeselect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/treetable/treetable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b47d10

Please sign in to comment.