Skip to content

Commit

Permalink
[SHIBUI-906]
Browse files Browse the repository at this point in the history
Swapped minLength and maxLength from Strings to ints.
  • Loading branch information
Bill Smith committed Nov 8, 2018
1 parent 2a4dc66 commit 9a1fd96
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class JsonSchemaBuilderService {
definition['uniqueItems'] = false
}
def items = [type : 'string',
minLength: '1', // TODO: should this be configurable?
maxLength: '255'] //TODO: or this?
minLength: 1, // TODO: should this be configurable?
maxLength: 255] //TODO: or this?
items.widget = [id: 'datalist', data: it['defaultValues']]

definition['items'] = items
Expand Down

0 comments on commit 9a1fd96

Please sign in to comment.