@@ -13,7 +13,7 @@ export const simpleSchemaResult = {
1313 isRequired : true ,
1414 validate : [
1515 {
16- type : 'required-validator '
16+ type : 'required'
1717 }
1818 ]
1919 } ,
@@ -26,7 +26,7 @@ export const simpleSchemaResult = {
2626 isRequired : true ,
2727 validate : [
2828 {
29- type : 'required-validator '
29+ type : 'required'
3030 }
3131 ] ,
3232 type : 'text' ,
@@ -64,7 +64,7 @@ export const simpleSchemaResult = {
6464 helperText : 'Hint: Make it strong!' ,
6565 validate : [
6666 {
67- type : 'min-length-validator ' ,
67+ type : 'min-length' ,
6868 threshold : 3
6969 }
7070 ]
@@ -79,7 +79,7 @@ export const simpleSchemaResult = {
7979 type : 'tel' ,
8080 validate : [
8181 {
82- type : 'min-length-validator ' ,
82+ type : 'min-length' ,
8383 threshold : 10
8484 }
8585 ]
@@ -97,7 +97,7 @@ export const nestedSchemaResult = {
9797 isRequired : true ,
9898 validate : [
9999 {
100- type : 'required-validator '
100+ type : 'required'
101101 }
102102 ] ,
103103 label : 'Task list title' ,
@@ -126,7 +126,7 @@ export const nestedSchemaResult = {
126126 isRequired : true ,
127127 validate : [
128128 {
129- type : 'required-validator '
129+ type : 'required'
130130 }
131131 ] ,
132132 autoFocus : false
@@ -269,7 +269,7 @@ export const arraySchemaResult = {
269269 title : 'A list with a minimal number of items' ,
270270 validate : [
271271 {
272- type : 'min-items-validator ' ,
272+ type : 'min-items' ,
273273 threshold : 3
274274 }
275275 ] ,
@@ -297,7 +297,7 @@ export const arraySchemaResult = {
297297 itemDefault : 'unidentified' ,
298298 validate : [
299299 {
300- type : 'min-items-validator ' ,
300+ type : 'min-items' ,
301301 threshold : 5
302302 }
303303 ] ,
0 commit comments