I came across a curious issue - I have a modal form in which I’ve placed a BS Dropdown. Now, without even trying to capture any of the Dropdown events, by simply clicking on the Dropdown it ‘resets’ my modal form. By this I mean that my modal form’s ‘_onshow()’ function is called (which happens to clear all the fields on the form!).
I’ve tested this by opening a new project, creating a modal form on which I have placed a BS Dropdown and a BS Input and the only code I’ve added is an ‘_onshow()’ event function to clear the BS Input when the modal form is shown. Every time I simply click on the Dropdown, the Input is cleared, so it’s calling the ‘_onshow()’ function for no apparent reason.
Is this a known issue? I can only guess that the dropdown list is perhaps a modal form itself and it’s maybe ‘clashing’ with my modal form? Or is it a bug?