Skip to content

Commit 211336d

Browse files
committed
Manually picked: UI/Input: 31271, render duration group before generic group
1 parent 5bd1a11 commit 211336d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/UI/Implementation/Component/Input/Field/Renderer.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ public function render(Component\Component $component, RendererInterface $defaul
5858
case ($component instanceof F\Section):
5959
return $this->renderSection($component, $default_renderer);
6060

61+
case ($component instanceof F\Duration):
62+
return $this->renderDurationField($component, $default_renderer);
63+
6164
case ($component instanceof F\Group):
6265
return $default_renderer->render($component->getInputs());
6366

@@ -91,9 +94,6 @@ public function render(Component\Component $component, RendererInterface $defaul
9194
case ($component instanceof F\DateTime):
9295
return $this->renderDateTimeField($component, $default_renderer);
9396

94-
case ($component instanceof F\Duration):
95-
return $this->renderDurationField($component, $default_renderer);
96-
9797
case ($component instanceof F\File):
9898
return $this->renderFileField($component, $default_renderer);
9999

0 commit comments

Comments
 (0)