setupValidator | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/formssetupValidatorFunction setupValidatorsetupValidator<NodeType extends HTMLElement>( node: NodeType, checker: FieldValidator<NodeType>,): voidSet up a custom validator Type ParametersNodeType extends HTMLElementParametersnode: NodeTypeForm element to validate checker: FieldValidator<NodeType>Sync or async function that returns a string with an error message or undefined if the field is valid. Returns voidSettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Set up a custom validator