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

πŸ“Œ Task
Status

Closed: outdated

Version

1.0

Component

General code

Created by

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

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

Comments & Activities

  • Issue created by @maursilveira
  • Status changed to Closed: outdated 27 days ago
  • πŸ‡¨πŸ‡¦Canada maursilveira Windsor, ON

    I'm sorry, I've just noticed this has been fixed in the dev branch. Closing this task.

    Apologies for all the noise.

Production build 0.69.0 2024