In an Xpage, on the CSJS onChange event, I am taking the value of a control (which is a Dojo Filtering Select) and setting the value of another Dojo Filtering Select control to the same value. Both controls use a @dbcolumn to create their lists of options.
var e = XSP.getElementById("#{id:DJFS1}").value;
XSP.getElementById("#{id:DJFS2}").value = e;
It works fine and changes the value of the 2nd control, except that it gives me "The entered value is not valid" error as it pops in there. If I use the arrow to select the value or use type ahead on that 2nd control, it works fine. Any way I can get it to understand that the value I am writing to it is one of it's options and not give me the error?