[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)

***

[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [controls](../README.md) / SelectMessageDialogProps

# Interface: SelectMessageDialogProps

Properties of the SelectMessageDialog React component.

## Properties

### modal?

> `optional` **modal**: `boolean`

Whether the dialog should be modal or not. Default is false.

***

### nodeIdentifier?

> `optional` **nodeIdentifier**: `string`

Optional node identifier to limit the databases to those available on the specified node.
If not specified, all databases available in the system will be shown.

***

### onClose()

> **onClose**: () => `void`

Callback that is called when the dialog is closed.

#### Returns

`void`

***

### onSelect()

> **onSelect**: (`message`, `sourceId`) => `void`

Callback that is called when a message is selected.
The selected message and source identifier are passed as parameters.

#### Parameters

##### message

[`FrameDefinition`](../../models/interfaces/FrameDefinition.md)

##### sourceId

`string`

#### Returns

`void`

***

### open

> **open**: `boolean`

If true, the dialog is open.

***

### parentDialogTitle?

> `optional` **parentDialogTitle**: `string`

Optional title of the parent dialog to be shown in the title bar as a breadcrumb.

***

### sourceIdFilter?

> `optional` **sourceIdFilter**: `string`

The source identifier that will be used to filter messages in the select dialog.
Leave undefined if no filtering should be done.
