Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate image-build before submit #81

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Validate image-build before submit #81

merged 1 commit into from
Nov 13, 2024

Conversation

oliverroick
Copy link
Collaborator

Resolves #75

Disabling the submit button proved tricky because of the way the form is architected. We don't have a global form state, so the ProfileForm, which renders the submit button, doesn't know about internals of `ImageBuilder. Instead, I added validation for the custom-field input and show an error if the field is not set.

Screenshot 2024-11-13 at 08 23 00

@yuvipanda yuvipanda merged commit 46cc14f into main Nov 13, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start button should be disabled if image hasn't been built yet
2 participants