Skip to content
import EditableInput from "@arcgis/core/widgets/FeatureForm/EditableInput.js";
Inheritance:
EditableInputInputBase<ElementType>Accessor
Subclasses:
FieldInput, RelationshipInput, UtilityNetworkAssociationInput
Since
ArcGIS Maps SDK for JavaScript 4.27

The mixin for FieldInput

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.
PropertyTypeClass
declaredClass
readonly inherited
editable
readonly

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

editable

readonly Property
Type
boolean

Indicates if the input is editable.

editType

Property
Type
EditType

The value that will be set for the Arcade variable $editcontext.editType in the Arcade context used to evaluate form expressions.

Accepted values are "INSERT", "UPDATE", "DELETE", and "NA".

For FieldInputs with value expressions, this property is also used in determining whether or not the value expressions should be applied. Per the Web Map Specification, value expressions are ignored if the associated layer field is not editable. Determining whether the layer field is editable must consider whether the specific type of edit being attempted is allowed. For example, if a layer has the supportsAdd capability but does not have the supportsUpdate capability, then the value expression will be applied if editType is INSERT but ignored if editType is UPDATE.

For the purposes of determining whether or not the layer allows the current edit type, a value of "NA" is always considered allowed.

Default value
"NA"