-
Bug
-
Resolution: Unresolved
-
Major
-
ACM 2.15.0
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
ACM Console Train 34 - 2, ACM Console Train 35 - 2
-
Important
-
Yes
Description of problem:
Some dropdowns are missing the last options. Also, adding a custom option to the dropdown makes standard options inaccessible.
Version-Release number of selected component (if applicable):
ACM 2.15.0
How reproducible:
Always
Steps to Reproduce:
First scenario:
- Create an ApplicationSet with a GitHub repository (push or pull)
- After selecting the repository, view the list of Revisions.
Second scenario:
- Edit the application.
- Enter a new repository URL.
- Click the repository dropdown.
Actual results:
First scenario: The list of Revisions is missing the last entry.
Second scenario: URL dropdown is empty.
Expected results:
First scenario: All branches should be listed. For example, https://github.com/fxiang1/app-samples should show branches main and val-b1, but only main is shown.
Second scenario: Previous repository URL value should still be available in dropdown.
Additional info:
Regression from the removal of deprecated components.
There is some logic here that seems to be involved:
https://github.com/stolostron/console/blob/main/frontend/packages/react-form-wizard/src/inputs/InputSelect.tsx#L155