From 1049406cdb2b29670bc8f4ad134bacbea71f43fc Mon Sep 17 00:00:00 2001 From: M1chlCZ Date: Mon, 7 Oct 2024 11:23:17 +0200 Subject: [PATCH] Edited devError message for isBetween --- glade_forms/lib/src/validator/int_validator.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glade_forms/lib/src/validator/int_validator.dart b/glade_forms/lib/src/validator/int_validator.dart index 6c75551..a430efd 100644 --- a/glade_forms/lib/src/validator/int_validator.dart +++ b/glade_forms/lib/src/validator/int_validator.dart @@ -14,7 +14,9 @@ class IntValidator extends GladeValidator { }) => satisfy( (value) => inclusiveInterval ? value >= min && value <= max : value > min && value < max, - devError: devError ?? (value) => 'Value ${value ?? 'NULL'} in not in between $min and $max.', + devError: devError ?? + (value) => + 'Value ${value ?? 'NULL'} (inclusiveInterval: $inclusiveInterval) is not in between $min and $max.', key: key ?? GladeErrorKeys.intCompareError, shouldValidate: shouldValidate, );