AUR4202

Error Message

AUR4202: {{triggerName}} is not a supported validation trigger

Description

This error occurs when an invalid validation trigger is specified with the & validate binding behavior. Only specific trigger names are supported.

Common Scenarios

<!-- ❌ Wrong: Invalid trigger names -->
<input value.bind="user.name & validate:onclick">
<input value.bind="user.email & validate:focus">
<input value.bind="user.password & validate:keyup">

Solution

<!-- ✅ Correct: Valid trigger names -->
<input value.bind="user.name & validate:blur">
<input value.bind="user.email & validate:change">
<input value.bind="user.password & validate:manual">
<input value.bind="user.age & validate:changeOrBlur">

Last updated

Was this helpful?