# ruian_address

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

# Prologue

Panels for saving and showing address data. You can enable fulltext search for addresses in RUIAN database via API.

# Preview

# Configuration

ruian_address:
	render: {width: 6}
	config:

		# Required
		# LPL support
		# Variable containing API connection with user credentials as DSN string
		# For example: https://user:pass@ruian.ispalliance.cz/api/
		connection: "'https://username:password@host'"

		# Required
		# Stores address data structure including the RUIAN code
		variable: address

		# Optional
		picker:
			# Optional | default true
			# Whether to use RUIAN picker or not
			enabled: true

			# Optional | default 5
			# How many matching addresses will be displayed below the search box
			limit: 5

			# Optional | Default - ''
			# You can set default query to be filled when panel is displayed
			default_query: 'Komenskeho namesti, Jicin'

		form:
			# Optional | default true
			# Whether to allow changes of address in form (RUIAN code will not be stored)
			# When enabled user can fill whatever address including non Czech addresses
			enabled: true

		ui:
			# Optional | Default - null
			# Panel title
			title: Please fill customer address
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