fix adding input with value
This commit is contained in:
parent
50f41fe0c4
commit
e97b4ee922
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ Ox.ArrayInput = function(options, self) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.appendTo(self.$element[index]));
|
.appendTo(self.$element[index]));
|
||||||
|
if (value) {
|
||||||
|
self.$input[index].options({value: value})
|
||||||
|
}
|
||||||
if (focus && self.$input[index].focusInput) {
|
if (focus && self.$input[index].focusInput) {
|
||||||
self.$input[index].focusInput(true);
|
self.$input[index].focusInput(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue