Skip to content

Commit 7374cd4

Browse files
committed
Merge pull request #448 from leipert/patch-1
Fixing enum error Message
2 parents 43bf4d1 + 2732563 commit 7374cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ angular.module('schemaForm').provider('sfErrorMessage', function() {
88
var defaultMessages = {
99
'default': 'Field does not validate',
1010
0: 'Invalid type, expected {{schema.type}}',
11-
1: 'No enum match for: {{value}}',
11+
1: 'No enum match for: {{viewValue}}',
1212
10: 'Data does not match any schemas from "anyOf"',
1313
11: 'Data does not match any schemas from "oneOf"',
1414
12: 'Data is valid against more than one schema from "oneOf"',

0 commit comments

Comments
 (0)