Commit 0db98b2f authored by Jacob Rockowitz's avatar Jacob Rockowitz Committed by Jacob Rockowitz
Browse files

Issue #3018652 by jrockowitz: Fix repeating inline error message for webform_mapping element

parent 866add7e
Loading
Loading
Loading
Loading
+1 −0
Changes for src/Element/WebformMapping.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ class WebformMapping extends FormElement {
    $destination_element_base = [
      '#title_display' => 'invisible',
      '#required' => ($element['#required'] === self::REQUIRED_ALL) ? TRUE : FALSE,
      '#error_no_message'  => ($element['#required'] !== self::REQUIRED_ALL) ? TRUE : FALSE,
    ];

    // Get base #destination__* properties.