require(["esri/widgets/BatchAttributeForm/BatchAttributeFormViewModel"], (BatchAttributeFormViewModel) => { /* code goes here */ });
import BatchAttributeFormViewModel from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
esri/widgets/BatchAttributeForm/BatchAttributeFormViewModel
Method Overview
Name | Return Type | Summary | Object |
---|---|---|---|
In "single" mode, this is the feature that is active in the form. | BatchAttributeFormViewModel | ||
Indicates whether the form can be submitted without introducing new validation errors. | BatchAttributeFormViewModel |
Method Details
-
In "single" mode, this is the feature that is active in the form. In "shared" mode, this property is
null
.
-
Indicates whether the form can be submitted without introducing new validation errors. This is similar to
valid
, but less strict in that does not consider the validity of fields whose values have not been modified by the user.In cases in which existing attribute values cause validation errors, the
valid
property will befalse
, but thesubmittable
property may still betrue
.