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

Edit form should be valid by default #12646

Merged
merged 3 commits into from
Oct 4, 2021
Merged

Conversation

hashishaw
Copy link
Collaborator

@hashishaw hashishaw commented Sep 27, 2021

This PR fixes an issue where specifically the K8S role edit form is invalid until a keypress is registered. We should instead assume a form is valid on load until it starts being filled out by the user.

This bug was introduced with the validation work done in 1.8, so it does not need to be backported prior to that version.

Previous behavior
before-edit

@hashishaw hashishaw added ui backport bug Used to indicate a potential bug labels Sep 27, 2021
@hashishaw hashishaw added this to the 1.8.3 milestone Sep 27, 2021
@vercel vercel bot temporarily deployed to Preview – vault September 27, 2021 19:43 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook September 27, 2021 19:46 Inactive
@hashishaw hashishaw modified the milestones: 1.8.3, 1.8.4 Sep 28, 2021
@hashishaw hashishaw merged commit b4f0c41 into main Oct 4, 2021
@hashishaw hashishaw deleted the ui/fix-edit-form-invalid branch October 4, 2021 17:53
hashishaw added a commit that referenced this pull request Oct 4, 2021
* isFormInvalid should be false by default and update on keyup

* Add changelog
hashishaw added a commit that referenced this pull request Oct 4, 2021
* isFormInvalid should be false by default and update on keyup

* Add changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport bug Used to indicate a potential bug ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants