@@ -78,7 +78,7 @@ For example, if `maxConstraint` is 2, the input array must have at most 2 values
78
78
79
79
### ` message `
80
80
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 }}. `
82
82
83
83
Message that will be shown if input value is not a valid choice.
84
84
@@ -92,7 +92,7 @@ The following parameters are available:
92
92
93
93
### ` multipleMessage `
94
94
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 }}. `
96
96
97
97
Message that will be shown when ` multiple ` is ` true ` and at least one of the input array values is not a valid choice.
98
98
@@ -106,7 +106,7 @@ The following parameters are available:
106
106
107
107
### ` minMessage `
108
108
109
- type ` string ` default: ` The {{ name }} value must have at least {{ minConstraint }} choices, {{ numValues }} choices given. `
109
+ type: ` string ` default: ` The {{ name }} value must have at least {{ minConstraint }} choices, {{ numValues }} choices given. `
110
110
111
111
Message that will be shown when ` multiple ` is ` true ` and input array has fewer values than the defined in ` minConstraint ` .
112
112
@@ -123,7 +123,7 @@ The following parameters are available:
123
123
124
124
### ` maxMessage `
125
125
126
- type ` string ` default: ` The {{ name }} value must have at most {{ maxConstraint }} choices, {{ numValues }} choices given. `
126
+ type: ` string ` default: ` The {{ name }} value must have at most {{ maxConstraint }} choices, {{ numValues }} choices given. `
127
127
128
128
Message that will be shown when ` multiple ` is ` true ` and input array has more values than the defined in ` maxConstraint ` .
129
129
@@ -136,4 +136,8 @@ The following parameters are available:
136
136
| ` {{ name }} ` | Name of the invalid value |
137
137
| ` {{ constraints }} ` | The array of valid choices |
138
138
| ` {{ minConstraint }} ` | The minimum number of valid choices |
139
- | ` {{ maxConstraint }} ` | The maximum number of valid choices |
139
+ | ` {{ maxConstraint }} ` | The maximum number of valid choices |
140
+
141
+ ## Changelog
142
+
143
+ - ` 0.1.0 ` Created
0 commit comments