Replace already legacy value 'replace' in form #ajax method

Created on 29 July 2024, 9 months ago
Updated 23 August 2024, 9 months ago

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.

Remaining tasks

User interface changes

No.

API changes

No.

Data model changes

No.

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇯🇵Japan tom konda Kanagawa, Japan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024