Commit fda1d3a4 authored by Roderik Muit's avatar Roderik Muit Committed by Rick Hawkins
Browse files

Issue #3215806 by roderik, rlhawk: #key_select elements cannot be empty

parent 927c3265
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -36,6 +36,9 @@ class KeySelect extends Select {
    // Add a property for key description.
    $info['#key_description'] = TRUE;

    // Add the 'empty' option.
    $info['#empty_option'] = $this->t('- Select a key -');

    return $info;
  }