synced with master

This commit is contained in:
Gani Georgiev committed 2024-12-08 14:43:07 +02:00
commit f7c85940c4
34 files changed
+98 -92

No files matched your search

+1 -1
View File
@@ -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 != "" {