diff --git a/src/editable-form/editable-form-utils.js b/src/editable-form/editable-form-utils.js index ab760f4..00c6c6a 100644 --- a/src/editable-form/editable-form-utils.js +++ b/src/editable-form/editable-form-utils.js @@ -134,8 +134,9 @@ return []; } + //convert to array if(!$.isArray(value)) { - value = [].push(value); + value = [value]; } /*jslint eqeq: true*/