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
=== RUN TestOneof
--- FAIL: TestOneof (0.00s)
panic: Undefined validation function 'active'' on field 'Status' [recovered]
panic: Undefined validation function 'active'' on field 'Status'
The text was updated successfully, but these errors were encountered:
Package version eg. v9, v10:
v10
Issue, Question or Enhancement:
I want to limit the status value only to be 'active' or 'active,inactive', but it return panic.
Code sample, to showcase or reproduce:
result
The text was updated successfully, but these errors were encountered: