Skip to content
Docs
Components
Region Selection

Region Selection

Latest Update:Jul 20, 2023, 16:10:23

Scenarios

Used to select various levels of administrative divisions (province, city, district).

Basic Function Description

After binding a data model to the form container, the "Region" field in the model will be rendered as a region based on the configuration, allowing for the selection and input of region information.

Note This component can configure the chosen style.

Example: Once Yunnan province and Kunming city are specified, you can no longer select provinces or cities. You can only choose districts or both districts and streets within Kunming city.

Property

Properties received from external input for the component

Property NameProperty Description
Data ModelDisplays the data model that the component can use within the container
Bind FieldsDisplays the data fields that can be selected from the data model within the container
Field TitleDisplays the field title of the current component
Display TitleDetermines whether the current component's title is visible; you can hide it if not needed
Chosen StyleAllows you to choose the format of the selection: Province, Province and City, Province, City, and District, Province, City, District, and Street, or specify a city to display
Default ValueSets the default city for the current component
Filtering ConditionsProvides the option to filter and display specific cities
RequiredIndicates whether the current component is a required field
Multi-selectSpecifies whether multiple cities can be selected at once
Layouthorizontal or full width
DisabledSets the current component as disabled
WidthAllows you to choose the width: full width, large, medium, or small
Maximum Input LengthSpecifies the maximum number of characters that can be entered for the current component