I've made a custom form in a module in Drupal 8, but I'd like to add target="_blank" in the form tag. When I try to add it in $form['#attributes']['target']
, the attribute is shown in the wrapper of the form and not in the form tag itself.
Does anyone have an idea where this could be done?