Skip to main content

Account Picker

<sl-account-picker> | SlAccountPicker
Since 2.0 hub24

Account picker is a HUB24 component for selecting a client’s accounts, it drives the data that is displayed on the page.

<sl-account-picker></sl-account-picker>

Examples

First Example

TODO

Second Example

TODO

[component-metadata:sl-account-picker]

Properties

Name Description Reflects Type Default
clientName
client-name
The clientName used for the selected account string 'Client Name'
accounts The accounts property contains the ‘id’ (string), ‘balance’ (number) and a collection of many other details of the client { id: string; name: string; number: string; product: string; balance: number; asAtDate: string; status: number; isActive: boolean; }[] []
selectedAccounts
selected-accounts
Holds an array of selectedAccounts by the current user string[] []
updateComplete A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties.

Parts

Name Description
base The component’s base wrapper.

Learn more about customizing CSS parts.