When editing an application, the form's save button will never be enabled due to missing unseen required items.
Details
The imageValidationSchema function in validation-schema.ts requires the selected and tag properties. However, when editing my application, the initialValue that gets passed down has an object at .image with empty strings for the selected and the tag properties, resulting in an immediate error and disabling the SAVE button.
To reproduce
Developer -> +Add
Import from Git
Git repo URL: Use URL of "unreachable" repo (get URL is valid but cannot be reached msg) -- PS: The pipeline has no problem reaching it later...
Git type: GitLab
Import strategy: Dockerfile
Build option: Pipelines
Pipeline: buildah-deployment
Create
From the topology map, "Edit \<name of deployment>"
Issue
When editing an application, the form's save button will never be enabled due to missing unseen required items.
Details
The
imageValidationSchema
function invalidation-schema.ts
requires theselected
andtag
properties. However, when editing my application, theinitialValue
that gets passed down has an object at.image
with empty strings for theselected
and thetag
properties, resulting in an immediate error and disabling theSAVE
button.To reproduce
URL is valid but cannot be reached
msg) -- PS: The pipeline has no problem reaching it later...