Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37679

Re: File picker's default value of select .

$
0
0
by Davo Smith.  

If you take a look at the print_login function in 'filepicker.js', then scroll down to the section starting:

                } else if(l[k].type=='select') {

You will find that the options are set up with their value + content, but that there is currently no support for setting the 'selected' element (unless I've missed it, in which case my apologies to Marina who wrote that bit of code).

I think this looks like an improvement that should be posted in tracker.moodle.org (assuming it isn't there already - please search first).

 

 


Viewing all articles
Browse latest Browse all 37679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>