# Panel (pick_user)

Pick one or more users and store their IDs into output variable

# Screenshots

pick_user

# Config

pick_user:

	config:

		# Required | Type: string | Default: null
		# Name of variable in which user IDs should be stored
		output: "myvar"

		# Optional | Type: bool | Default: true
		# Whether to allow pick multiple users or single one
		multiple: true

		# Optional | Type: array | Default: []
		# IDs of users which could be chosen from in selectbox
		users: [6, 36]

		# Optional | Type: array | Default: []
		# IDs of users which should be excluded from selectbox
		exclude: [6, 36]

		# Optional | Type: array | Default: null
		# List of group gids to display in select dropdown
		#
		### Note
		### Empty array to display no groups, null to display all available groups
		groups: [all, vip]

		# Optional | Type: array | Default: []
		# Custom callbacks attached on customer selected
		callbacks: []

		# Optional | Type: string | Default: null
		# Custom script attached on customer selected
		#
		### Note
		### This option is not lattenized
		script: "NULL"

		# UI
		ui:

			# Optional | Type: string | Default: null
			# Default message in selectbox
			placeholder: "Pick user"

			# Optional | Type: bool | Default: true
			# Show select myself or select group helpers next to selectbox
			helper: true

			# Optional | Type: string | Default: null
			# Panel title
			title: "Panel title"

			# Optional | Type: string | Default: null
			# Panel description
			description: "Panel description"
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56