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 Name | Property Description |
---|---|
Data Model | Displays the data model that the component can use within the container |
Bind Fields | Displays the data fields that can be selected from the data model within the container |
Field Title | Displays the field title of the current component |
Display Title | Determines whether the current component's title is visible; you can hide it if not needed |
Chosen Style | Allows 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 Value | Sets the default city for the current component |
Filtering Conditions | Provides the option to filter and display specific cities |
Required | Indicates whether the current component is a required field |
Multi-select | Specifies whether multiple cities can be selected at once |
Layout | horizontal or full width |
Disabled | Sets the current component as disabled |
Width | Allows you to choose the width: full width, large, medium, or small |
Maximum Input Length | Specifies the maximum number of characters that can be entered for the current component |