@serenity-is/corelib / removeValidationRule
Variable: removeValidationRule()
constremoveValidationRule: (element,uniqueName) =>void=Validator.removeCustomRule
Defined in: src/base/validator.tsx:2076
Alias for Validator.removeCustomRule.
Removes a custom validation callback previously added with Validator.addCustomRule.
Parameters
element
Target element or array-like collection.
HTMLElement | ArrayLike<HTMLElement>
uniqueName
string
Key under which the rule was registered.
Returns
void