Skip to content

Commit

Permalink
[FIX] UI: remove for attribute of Field\Section component (has no vis…
Browse files Browse the repository at this point in the history
…ible form control).
  • Loading branch information
thibsy committed Sep 18, 2024
1 parent 4f67c74 commit e5df219
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public function testScoreSettingsSectionScoring(): void
'test_scoring',
$i1 . $i2 . $i3,
null,
'id_4',
'',
''
);
$this->assertHTMLEquals($expected, $this->brutallyTrimSignals($actual));
Expand Down Expand Up @@ -367,7 +367,7 @@ public function testScoreSettingsSectionSummary(): void
'test_results',
$i1,
null,
'id_8',
'',
''
);
$this->assertEquals($expected, $this->brutallyTrimSignals($actual));
Expand Down Expand Up @@ -416,7 +416,7 @@ public function testScoreSettingsSectionDetails(): void
'tst_results_details_options',
$options,
null,
'id_8',
'',
''
);
$this->assertEquals($expected, $this->brutallyTrimSignals($actual));
Expand Down Expand Up @@ -494,7 +494,7 @@ public function testScoreSettingsSectionGamification(): void
'tst_results_gamification',
$group,
null,
'id_10',
'',
''
);
$this->assertHTMLEquals($expected, $this->brutallyTrimSignals($actual));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ protected function renderSection(F\Section $section, RendererInterface $default_
$inputs_html .= $default_renderer->render($input);
}
$id = $this->bindJavaScript($section) ?? $this->createId();
return $this->wrapInFormContext($section, $section->getLabel(), $inputs_html, $id);
return $this->wrapInFormContext($section, $section->getLabel(), $inputs_html, $id, '', false);
}

protected function renderUrlField(F\Url $component, RendererInterface $default_renderer): string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testSectionRendering(): void
$label,
$f1 . $f2,
$byline,
'id_3'
''
);
$this->assertEquals($expected, $this->render($section));
}
Expand Down

0 comments on commit e5df219

Please sign in to comment.