@@ -78,7 +78,7 @@ For example, if `max` is 2, the input array must have at most 2 values.
7878
7979### ` message `
8080
81- type: ` string ` default: ` The {{ name }} value is not a valid choice, {{ value }} given. Accepted values are: {{ constraints }}. `
81+ type: ` ? string` default: ` The {{ name }} value is not a valid choice, {{ value }} given. Accepted values are: {{ constraints }}. `
8282
8383Message that will be shown if input value is not a valid choice.
8484
@@ -92,7 +92,7 @@ The following parameters are available:
9292
9393### ` multipleMessage `
9494
95- type: ` string ` default: ` The {{ name }} value has one or more invalid choices, {{ value }} given. Accepted values are: {{ constraints }}. `
95+ type: ` ? string` default: ` The {{ name }} value has one or more invalid choices, {{ value }} given. Accepted values are: {{ constraints }}. `
9696
9797Message that will be shown when ` multiple ` is ` true ` and at least one of the input array values is not a valid choice.
9898
@@ -106,7 +106,7 @@ The following parameters are available:
106106
107107### ` minMessage `
108108
109- type: ` string ` default: ` The {{ name }} value must have at least {{ min }} choices, {{ numElements }} choices given. `
109+ type: ` ? string` default: ` The {{ name }} value must have at least {{ min }} choices, {{ numElements }} choices given. `
110110
111111Message that will be shown when ` multiple ` is ` true ` and input array has fewer values than the defined in ` min ` .
112112
@@ -123,7 +123,7 @@ The following parameters are available:
123123
124124### ` maxMessage `
125125
126- type: ` string ` default: ` The {{ name }} value must have at most {{ max }} choices, {{ numElements }} choices given. `
126+ type: ` ? string` default: ` The {{ name }} value must have at most {{ max }} choices, {{ numElements }} choices given. `
127127
128128Message that will be shown when ` multiple ` is ` true ` and input array has more values than the defined in ` max ` .
129129
0 commit comments