-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution][Endpoint] Do not validate TA creation form with soft errors when required name field is empty #111508
[Security Solution][Endpoint] Do not validate TA creation form with soft errors when required name field is empty #111508
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of comments added but it looks niiice! Thanks for fixing this :)
...lution/public/management/pages/trusted_apps/view/components/create_trusted_app_form.test.tsx
Show resolved
Hide resolved
...ty_solution/public/management/pages/trusted_apps/view/components/create_trusted_app_form.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
💚 Build SucceededMetrics [docs]Async chunks
To update your PR or re-run it, just comment with: cc @ashokaditya |
…oft errors when required name field is empty (elastic#111508) * validate to true only if name is not empty as well fixes elastic/issues/108509 * update test * review changes
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…oft errors when required name field is empty (#111508) (#111533) * validate to true only if name is not empty as well fixes /issues/108509 * update test * review changes Co-authored-by: Ashokaditya <am.struktr@gmail.com>
…oft errors when required name field is empty (elastic#111508) * validate to true only if name is not empty as well fixes elastic/issues/108509 * update test * review changes
Bug Conversion
Thanks! |
Summary
Fixes a bug when the Path field input values result in soft warnings and not errors. This ends up as validating the form even though the required Name field is empty.
Screenshot

Checklist
Delete any items that are not applicable to this PR.