[2.0.5] Ajax error in layout builder when an embedded prop form has only one possible source

Created on 8 June 2025, 19 days ago

Problem/Motivation

Playing with layout builder and some props, an ajax error is raised when i navigate inside entity with context switcher sources and try to select a source from a list of one.
indeed, inside ComponentFormBase::buildSourceSelector(, the select is transformed into an hidden element and the #ajax key is removed.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France just_like_good_vibes PARIS

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