Skip to content

Commit

Permalink
When form is opened, set formDidValidate to false
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalNewsTV authored and PaulGarewal committed Dec 6, 2024
1 parent d70c294 commit c9c8d3d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class WatercraftInspectionViewController: BaseViewController {

// MARK: Setup
func setup(model: WatercraftInspectionModel) {
model.set(value: false, for: "formDidValidate")
self.model = model
self.isEditable = [.Draft, .Errors].contains(model.getStatus())
self.styleNavBar()
Expand Down

0 comments on commit c9c8d3d

Please sign in to comment.