File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/groovy/com/predic8/wstool/creator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ class FormCreator extends AbstractSchemaCreator <FormCreatorContext>{
192
192
} else if (res. minLengthFacet) {
193
193
ctx. attrs[' label' ] = " Should be at least ${ res.minLengthFacet.value} characters."
194
194
} else if (res. maxLengthFacet){
195
- ctx. attrs[' label' ] = " Should have at most ${ res.minLengthFacet .value} characters."
195
+ ctx. attrs[' label' ] = " Should have at most ${ res.maxLengthFacet .value} characters."
196
196
}
197
197
if (ctx. element) {
198
198
writeInputField(ctx. element , ctx)
@@ -209,7 +209,7 @@ class FormCreator extends AbstractSchemaCreator <FormCreatorContext>{
209
209
} else if (res. minLengthFacet) {
210
210
ctx. attrs[' label' ] = " Should be at least ${ res.minLengthFacet.value} characters."
211
211
} else if (res. maxLengthFacet){
212
- ctx. attrs[' label' ] = " Should have at most ${ res.minLengthFacet .value} characters."
212
+ ctx. attrs[' label' ] = " Should have at most ${ res.maxLengthFacet .value} characters."
213
213
}
214
214
// @todo Patternfacet, maxInclusive, lengthFacet must be implemented!
215
215
if (ctx. element) {
You can’t perform that action at this time.
0 commit comments