Skip to content

Model Object

clearErrors()

clearErrors() — returns void

Available in: model Category: Error Functions

Clears out all errors set on the object or only the ones set for a specific property or name.

NameTypeRequiredDefaultDescription
propertystringnoSpecify a property name here if you want to clear all errors set on that property.
namestringnoSpecify an error name here if you want to clear all errors set with that error name.