From 347543ca866392ef12b0339a00da9809ccf649a0 Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Wed, 8 Jul 2015 22:24:11 +0200 Subject: [PATCH] Error in validation messages - multipleOf The third round :bell: :bell: :bell: This time i checked every item of the error messages against tv4 and json schema. Seems legit now :dance: --- src/services/errors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/errors.js b/src/services/errors.js index 1f2bb257d..539e97bbf 100644 --- a/src/services/errors.js +++ b/src/services/errors.js @@ -14,7 +14,7 @@ angular.module('schemaForm').provider('sfErrorMessage', function() { 12: 'Data is valid against more than one schema from "oneOf"', 13: 'Data matches schema from "not"', // Numeric errors - 100: 'Value is not a multiple of {{schema.divisibleBy}}', + 100: 'Value is not a multiple of {{schema.multipleOf}}', 101: '{{viewValue}} is less than the allowed minimum of {{schema.minimum}}', 102: '{{viewValue}} is equal to the exclusive minimum {{schema.minimum}}', 103: '{{viewValue}} is greater than the allowed maximum of {{schema.maximum}}',