FeatureFormViewProps
FeatureFormViewProps =
ViewProps&object
Defined in: packages/expo-arcgis-toolkit/src/FeatureFormView.tsx:14
Type Declaration
Section titled “Type Declaration”editingButtons?
Section titled “editingButtons?”
optionaleditingButtons?:"automatic"|"visible"|"hidden"
The Save and Discard buttons: 'automatic' shows them once there are edits.
Default
Section titled “Default”'automatic'Platform
Section titled “Platform”ios — on Android, see showFormActions.
feature
Section titled “feature”feature:
FeatureRef
The feature to edit: the ref of a feature from a view’s identify, in a feature layer that
defines a form.
isNavigationEnabled?
Section titled “isNavigationEnabled?”
optionalisNavigationEnabled?:boolean
Lets the user open related records’ forms and utility network associations.
Default
Section titled “Default”trueonDismiss?
Section titled “onDismiss?”
optionalonDismiss?: () =>void
Called when the user closes the form. On iOS the close button shows only when this is set (the
Toolkit’s isPresented binding).
Returns
Section titled “Returns”void
onEditingEvent?
Section titled “onEditingEvent?”
optionalonEditingEvent?: (event) =>void
Called when the user saves or discards edits with the form’s buttons. Saving keeps the edits on
the feature’s table; apply them to the service then, as in the Toolkit’s examples:
feature.getLayer(), then applyEdits() on its service geodatabase or on the layer.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
showCloseIcon?
Section titled “showCloseIcon?”
optionalshowCloseIcon?:boolean
Shows the close icon.
Default
Section titled “Default”truePlatform
Section titled “Platform”android — on iOS, see onDismiss.
showFormActions?
Section titled “showFormActions?”
optionalshowFormActions?:boolean
Shows the save and discard actions.
Default
Section titled “Default”truePlatform
Section titled “Platform”android
validationErrorVisibility?
Section titled “validationErrorVisibility?”
optionalvalidationErrorVisibility?:"automatic"|"visible"
When validation errors show: once a field is touched or a save is tried, or always.
Default
Section titled “Default”'automatic'