Avoid side menu to close when click on any element of it

I’ve included a form in my ion-side-menu, with two text inputs, a checkbox input and a submit button.

Everytime I click in one of the form elements, the side menu closes, so is impossible to complete the form.

Is there any way to avoid the side menu to closing unless I click on the toggle-menu button for example?