# pick_user

Name pick_user
Type panel
Version 1.0
Since 2020-01-01

# Prologue

Pick User panel enables saving user ids into variable. Users can be selected by select or multiselect box.

# Preview

# Configuration

pick_user:
	render: {width: 6}
	config:

		# Required
		# Json variable holding user ids
		variable: my_variable

		# Optional | Default - [] => all system users in selectbox
		# LPL support - must return array of user IDs
		# Users to show in selectbox. Only accepts IDs
		# Examples: '[55, 46]', 'variable'
		users: 'varible_with_user_ids'

		# Optional | Default - [] => exclude nobody from selectbox
		# LPL support - must return array of user IDs
		# Users exclude from selectbox. Only accepts IDs
		# Examples: '[55, 46]', 'variable'
		exclude: 'varible_with_user_ids'

		# Optional | Default - true
		# Multiselect vs selectbox
		multiple: false

		ui:
			# Optional | Default - null
			# Panel title
			title: Choose technicians for repair

			# Optional | Default - null
			# Panel description
			description: Description of the panel

			# Optional | Default - null
			# Default message in selectbox
			placeholder: Choose user
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