Commit 3f91a9ce authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Issue #2955881 by jrockowitz: #multiple__label and #multiple__labels are being...

Issue #2955881 by jrockowitz: #multiple__label and #multiple__labels are being saved with every element
parent 830e8a2e
Loading
Loading
Loading
Loading
+2
Changes for src/Plugin/WebformElementBase.php: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -2515,11 +2515,13 @@ class WebformElementBase extends PluginBase implements WebformElementInterface {
    $form['multiple']['multiple__label'] = [
      '#type' => 'textfield',
      '#title' => $this->t('Item label'),
      '#attributes' => ['data-webform-states-no-clear' => TRUE],
      '#description' => $this->t('This is used as the item label for this webform element when displaying multiple values.'),
    ];
    $form['multiple']['multiple__labels'] = [
      '#type' => 'textfield',
      '#title' => $this->t('Item labels'),
      '#attributes' => ['data-webform-states-no-clear' => TRUE],
      '#description' => $this->t('This is used as the items label for this webform element when displaying multiple values.'),
    ];
    $form['multiple']['multiple__min_items'] = [