File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Shared/Samples/Edit features using feature forms Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ struct EditFeaturesUsingFeatureFormsView: View {
3737 /// A Boolean value indicating whether the discard edits alert is presented.
3838 @State private var isShowingDiscardEditsAlert = false
3939
40- /// A Boolean value indicating whether any edits have been made to the feature form.
41- @State private var hasEdits = false
42-
4340 /// A Boolean value indicating whether the feature form has any validation errors.
4441 @State private var hasValidationErrors = false
4542
@@ -121,13 +118,6 @@ struct EditFeaturesUsingFeatureFormsView: View {
121118 fatalError ( " Unknown form editing event: \( event) " )
122119 }
123120 }
124- . task {
125- defer { hasEdits = false }
126-
127- for await hasEdits in featureForm. $hasEdits {
128- self . hasEdits = hasEdits
129- }
130- }
131121 . task {
132122 defer { hasValidationErrors = false }
133123
You can’t perform that action at this time.
0 commit comments