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(29163): Fix potential bug with nested errors on arrays in RJSF forms #728

Merged
merged 4 commits into from
Jan 10, 2025

Conversation

vanch3d
Copy link
Contributor

@vanch3d vanch3d commented Jan 6, 2025

See https://hivemq.kanbanize.com/ctrl_board/57/cards/29163/details/

The PR fixes a potential bug in detecting errors in a "collapsed" item of an array in RJSF. The routine now properly checks for nested errors recursively.

The PR also fixes a styling and accessibility bug with error colours (both in light and dark modes)

After

screenshot-localhost_3000-2025_01_06-18_26_49

@vanch3d vanch3d self-assigned this Jan 6, 2025
@cla-bot cla-bot bot added the cla-signed label Jan 6, 2025
@vanch3d vanch3d requested a review from sfrehse January 8, 2025 16:44
Copy link
Contributor

@oli-hivemq oli-hivemq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🦣

@vanch3d vanch3d force-pushed the fix/29163/array-item-bug branch from 736fcc3 to c22e874 Compare January 10, 2025 09:37
@vanch3d vanch3d merged commit fc5cba4 into master Jan 10, 2025
9 of 10 checks passed
@vanch3d vanch3d deleted the fix/29163/array-item-bug branch January 10, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants