From e97b4ee922efde6544b738a390c6f201d9e6759e Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 13 Feb 2015 11:05:46 +0000 Subject: [PATCH] fix adding input with value --- source/UI/js/Form/ArrayInput.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/UI/js/Form/ArrayInput.js b/source/UI/js/Form/ArrayInput.js index 51d5036c..4a6e5752 100644 --- a/source/UI/js/Form/ArrayInput.js +++ b/source/UI/js/Form/ArrayInput.js @@ -85,6 +85,9 @@ Ox.ArrayInput = function(options, self) { } }) .appendTo(self.$element[index])); + if (value) { + self.$input[index].options({value: value}) + } if (focus && self.$input[index].focusInput) { self.$input[index].focusInput(true); }