Warn users on Multivalued input in the presence of single valued Webform Elements #182
Labels
Drupal 10
Gosh. Yes. The number X
enhancement
New feature or request
Webform Elements
Things with input to fill and interact with while ingesting metadata
Webform Handler
Webform Widgets
Connecting Webforms and Entity Fields
Milestone
What?
Now that drupal actually fails on render arrays (or any array) that is "indexed" we need to tackle this old story. They/them/she/him brings an array of flowers, They/them/she/him has only use (and brain space) for a single flower -> json/webform analogy ...
Basically we need to parse the webform upfront. if the destination of (e.g)
descripion
(that holds 2 descriptions) is a single textarea, saving the value will remove anything else there but also fail rendering.Because webforms can not be modified on the fly, we can at least alert/avoid saving in that case (and avoid the error)The text was updated successfully, but these errors were encountered: