@@ -78,7 +78,7 @@ For example, if `maxConstraint` 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 {{ minConstraint }} choices, {{ numValues }} choices given. `
109+ type: ` string ` default: ` The {{ name }} value must have at least {{ minConstraint }} choices, {{ numValues }} choices given. `
110110
111111Message that will be shown when ` multiple ` is ` true ` and input array has fewer values than the defined in ` minConstraint ` .
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 {{ maxConstraint }} choices, {{ numValues }} choices given. `
126+ type: ` string ` default: ` The {{ name }} value must have at most {{ maxConstraint }} choices, {{ numValues }} choices given. `
127127
128128Message that will be shown when ` multiple ` is ` true ` and input array has more values than the defined in ` maxConstraint ` .
129129
@@ -136,4 +136,8 @@ The following parameters are available:
136136| ` {{ name }} ` | Name of the invalid value |
137137| ` {{ constraints }} ` | The array of valid choices |
138138| ` {{ 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