import GroupInput from "@arcgis/core/widgets/FeatureForm/GroupInput.js";const GroupInput = await $arcgis.import("@arcgis/core/widgets/FeatureForm/GroupInput.js");- Inheritance:
- GroupInput→
InputBase<GroupElement>→ Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.27
This is a support class that represents a group of field inputs.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
initialState readonly | "collapsed" | "expanded" | |
| | ||
label readonly | | |
| | ||
type readonly | "group" | |
visible readonly | |
initialState
readonly Property
- Type
- "collapsed" | "expanded"
- Since
- ArcGIS Maps SDK for JavaScript 4.28
Defines if the group should be expanded or collapsed when the form is initially displayed.
| Possible Value | Description |
|---|---|
| collapsed | The grouped elements appear collapsed. |
| expanded | The grouped elements appear expanded. |
- Default value
- "expanded"