7 – Vertical tabs: wrapper problem

I have a form with multiple fieldsets and I'm thinking of adding a vertical tab form field to turn the current fieldset into vertical tabs, but I use AJAX a lot in the fieldsets. AJAX elements need wrappers. I put the wrappers in the respective fields, for example:

$ form['fieldset-general'] =[
& # 39; # type & # 39; => & # 39; fieldset & # 39 ;,
& # 39; # title & # 39; => t (& # 39;    General & # 39;)
& # 39; # collapsible & # 39; => TRUE,
& # 39; # prefix & # 39; => & # 39;
& # 39 ;, & # 39; # suffix & # 39; => & # 39;
& # 39 ;, ];

If I now add the form field of the vertical tabs …

$ form['vertical-tabs-set'] = [
    '#type' => 'vertical_tabs',
  ];

… I have to disable the wrappers in my fields for it to work:

$ form['fieldset-general'] = [
    '#type' => 'fieldset',
    '#title' => t('General'),
    '#group' => 'vertical-tabs-set',
  ];

I've tried adding the wrapper to the vertical tabs form field or to new markup form fields, but that did not work.

Is there a way here to make the wrappers work in this case?