Use replaceWith, not replace, in #ajax form settings

Created on 30 May 2024, 27 days ago

Problem/Motivation

As per this Drupal change record β†’ , the method replace should not be used anymore, and replaceWith should be used instead. Both methods work identically before Drupal 10.3.0, but starting in this version, only replaceWith is supported.

Steps to reproduce

N/A

Proposed resolution

Replace all instances of replace in #ajax form settings with replaceWith.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada maursilveira Windsor, ON

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024