You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1161,6 +1161,8 @@ is a reactive method.
1161
1161
1162
1162
Call `myContext.reset()` if you need to reset the validation context, clearing out any invalid field messages and making it valid.
1163
1163
1164
+
`myContext.name` is set to the context name, if it is a named context. Create named contexts by calling `schema.namedContext(name)` or `new ValidationContext(schema, name)`.
1165
+
1164
1166
## Other SimpleSchema Methods
1165
1167
1166
1168
Call `MySchema.schema([key])` to get the schema definition object. If you specify a key, then only the schema definition for that key is returned.
0 commit comments