I have a bootstrap dropdown in a form. However form onshow event is triggered every time where click the dropdown. Is this a bug?
Thank
Teo
I have a bootstrap dropdown in a form. However form onshow event is triggered every time where click the dropdown. Is this a bug?
Thank
Teo
I was able to reproduce this. Here is a workaround:
In BASIC:
Function Form1_onshow(event)
If event <> undefined Then return
In JavaScript:
Form1.onshow = function(event) {
if (event !== undefined) return;
I have this same problem. Not sure how to apply your solution. My onshow cocde is:
Form1.onshow=function(){
drpFlavors.addItem("Vanilla")
drpFlavors.addItem("Chocolate")
}
Did you try this?
Form1.onshow=function(event){
if (event !== undefined) return;
drpFlavors.addItem("Vanilla")
drpFlavors.addItem("Chocolate")
}
Please explain why this works. Thanks
Which part? I can explain better if I know what you’re looking for.