More than one modal control per form

Can we have multiple Modal (BS4) controls in the same form? If so, I might have run into a bug. By inspecting the HTML source, I can see the first Modal in the list properly inserted as the last form element, but the next Modal is added to the previous Modal, just after its “objModal_body” tag. Current workaround is to detach the 2nd modal and attach it to the form using JS code.

Any suggestions?

The Modal sample has 2 modals, both of which are opened from Form1.

Found it! Open the Modal sample, remove the elements that are under each modal and you’ll get what I’m getting (pls ignore the missing Button3 error).

Thanks. Found the bug and fixed it. We’ll make a new build.