Skip to content

[Improvement] UI: Input ViewControls dont display selected value - #11742

Open
fhelfer wants to merge 2 commits into
ILIAS-eLearning:trunkfrom
fhelfer:ui/fix/input-view-control-selected-value
Open

[Improvement] UI: Input ViewControls dont display selected value#11742
fhelfer wants to merge 2 commits into
ILIAS-eLearning:trunkfrom
fhelfer:ui/fix/input-view-control-selected-value

Conversation

@fhelfer

@fhelfer fhelfer commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Problem: In Input ViewControls (Pagination limit dropdown, Sortation), the active option was not shown with a checkmark. Sortation also did not mark the default option when no value was set.

Fix: Added missing CSS for the pagination limit dropdown. In the renderer, shared logic marks the selected <li>; for pagination

@fhelfer fhelfer added bugfix kitchen sink php Pull requests that update Php code css/html Pull requests that propose changes to CSS/SCSS or HTML files. labels Jul 13, 2026
@fhelfer
fhelfer force-pushed the ui/fix/input-view-control-selected-value branch from 479ecb3 to 2df1141 Compare July 14, 2026 07:32
@oliversamoila

Copy link
Copy Markdown
Contributor

Hello @fhelfer,
Thank you very much for your addition to the row switch in the Input ViewControl for Pagination.
For anyone else reading this: see the screenshot for a quick reference.

Please also add 'Sort by: {value}' to the Input ViewControl for Sorting, as we’ve already seen in the ViewControls.
Many thanks.

Best regards,
@oliversamoila


image

@oliversamoila oliversamoila changed the title [Bugfix] UI: Input ViewControls dont display selected value [Improvement] UI: Input ViewControls dont display selected value Jul 22, 2026
@fhelfer

fhelfer commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

This is how Input ViewControl Soration will look with the changes in the PR. Added the prefix and the selected Option as label

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css/html Pull requests that propose changes to CSS/SCSS or HTML files. improvement kitchen sink php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants