Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Form submission to server without reloading the whole page

Hello.

How can I go about submitting data in an HTML form to Flask for server-side processing without reloading the entire page?

My button:

dbc.Button('Send', id='send', color='success', type='submit')

My form:
dbc.Form([input_form], id='input_form', action='/post', method='POST', prevent_default_on_submit=False)

If I use prevent_default_on_submit=True, then no submission happens.

I am using dash-bootstrap-components if this is relevant for the question.