By finnsky on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
main
Introduced in version:
12
Issue links:
Description:
An Ajax request triggered by the user from a button blocks the form until the response arrives. #ajax['blocking'] defaults to TRUE for submit, button and image_button, and to FALSE for other elements. Requests triggered from JavaScript do not block the form.
To disable:
'#ajax' => [
'callback' => '::refreshCallback',
'wrapper' => 'refresh-wrapper',
'blocking' => FALSE,
],
Impacts:
Module developers
Themers
Site templates, recipes and distribution developers