forked from 0x2620/oxjs
workaround for select values not getting updated correctly when updating form values
This commit is contained in:
parent
e5d0c3fd20
commit
f43122f795
4 changed files with 39 additions and 24 deletions
|
|
@ -138,6 +138,7 @@ Ox.Form = function(options, self) {
|
|||
//Ox.print('VALUES', values)
|
||||
return values;
|
||||
} else {
|
||||
Ox.print('SET FORM VALUES', arguments[0])
|
||||
Ox.forEach(arguments[0], function(value, key) {
|
||||
var index = getItemIndexById(key);
|
||||
//index > -1 && Ox.print(':::::::', key, value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue