Problem/Motivation

Some of form uses '#ajax' which specify 'replace' as method value.
But this value is already labeled as legacy support since Drupal 8, and removed from Drupal 11.

Proposed resolution

Use 'replaceWith' as '#ajax' method value.
Legacy 'replace' value is automatically replaced with 'replaceWith' internally till the Drupal 10.x branch.
Search API module was changed to 'replaceWith' already.
#3425235: Make the Search API module compatible with Drupal 11

Remaining tasks

User interface changes

No.

API changes

No.

Data model changes

No.

Release notes snippet

No.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Tom Konda created an issue. See original summary.

tom konda’s picture

Status: Active » Needs work

tom konda’s picture

Status: Needs work » Needs review
bkosborne’s picture

Status: Needs review » Reviewed & tested by the community

looks good to me

izus’s picture

Status: Reviewed & tested by the community » Fixed

Merged
thanks

izus’s picture

Status: Fixed » Closed (fixed)