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

fix(components/forms): update checkbox and checkbox group harness to return false instead of throw when no form errors are present #2640

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

Blackbaud-CoreyArcher
Copy link
Contributor

@Blackbaud-CoreyArcher Blackbaud-CoreyArcher commented Aug 26, 2024

AB#3032270

BREAKING CHANGE

Previously the hasRequiredError() and other error reporting methods on checkbox and checkbox group harnesses would return false if the specified error was not present alongside other errors, but throw an exception if no errors were present at all. Now these methods simply return false if the specified error is not present regardless of the overall error state.

…return false instead of throw when no form errors are present
@Blackbaud-CoreyArcher Blackbaud-CoreyArcher added the risk level (author): 2 This change has a slight chance of introducing a bug label Aug 26, 2024
@blackbaud-sky-build-user
Copy link
Collaborator

Storybook preview

Component Storybooks:

Apps:

@Blackbaud-CoreyArcher Blackbaud-CoreyArcher merged commit 28c1fdd into main Aug 27, 2024
30 checks passed
@Blackbaud-CoreyArcher Blackbaud-CoreyArcher deleted the checkbox-errors-harness-fix branch August 27, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
risk level (author): 2 This change has a slight chance of introducing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants