Description of problem:
In ROSA/OSD wizard when user enables the "Create custom domain prefix" checkbox and leave "Domain prefix" field as empty then there is no validation error thrown on the field when user tried to move to next step. The validation error thrown only when user focus the field. This is wrong UX behavior. The user should give an indication on the field validation as soon as user attempt to move next without any valid value on the mandatory field.
See the recording Screencast from 2024-08-08 12-56-40-1.mp4
How reproducible:
always
Steps to Reproduce:
- Open OCM UI staging
- Open OSD/ROSA wizard.
- Reach to cluster settings > Details step.
- Provide cluster name to cluster field.
- Check the checkbox "Create custom domain prefix".
- Do not enter or do anything on domain prefix field and leave it as empty.
- Fill all other required fields in the step and Click "Next" button.
- See the behavior.
Actual results:
In Step 7, User was not allowed to move to next step which is correct. At the same time, there was no validation error that indicate user about the domain prefix field that blocks user to proceed to next step. Validation error only shown when user focuses the field and that seems wrong behavior.
Expected results:
At step 7, The validation error should be thrown against the "Domain prefix" field as "
1 - 15 characters" as soon as user tried to proceed to next step with an empty value.
- is related to
-
OCMUI-2168 [OCM-UI] Cluster domain prefix field violates globally unique domain prefix validation
- Closed
- mentioned on