mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-11 16:57:26 +02:00
synced with master
This commit is contained in:
commit
f7c85940c4
34 files changed
+98
-92
No files matched your search
+1
-1
@@ -233,7 +233,7 @@ func (f *TextField) ValidatePlainValue(value string) error {
|
||||
|
||||
if max > 0 && length > max {
|
||||
return validation.NewError("validation_max_text_constraint", "Must be less than {{.max}} character(s)").
|
||||
SetParams(map[string]any{"max": f.Max})
|
||||
SetParams(map[string]any{"max": max})
|
||||
}
|
||||
|
||||
if f.Pattern != "" {
|
||||
|
||||
Reference in new issue
Block a user