LearnNewsExamplesServices
Frontmatter
id4121
titleform.Container: validate()
stateClosed
labels
enhancement
assigneestobiu
createdAtFeb 21, 2023, 5:53 PM
updatedAtFeb 21, 2023, 5:53 PM
githubUrlhttps://github.com/neomjs/neo/issues/4121
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 21, 2023, 5:53 PM

form.Container: validate()

Closed v8.1.0 enhancement
tobiu
tobiu commented on Feb 21, 2023, 5:53 PM

Triggering isValid() as the return value is quite expensive, since we need to find and re-iterate all nested fields twice. We can do this check inside the main for loop instead.

@Krytechs

tobiu added the enhancement label on Feb 21, 2023, 5:53 PM
tobiu assigned to @tobiu on Feb 21, 2023, 5:53 PM
tobiu referenced in commit 6d6212b - "form.Container: validate() #4121" on Feb 21, 2023, 5:53 PM
tobiu closed this issue on Feb 21, 2023, 5:53 PM