Skip to content

Formsy: validation messages update on prop changes - #2051

Open
labkey-nicka wants to merge 3 commits into
developfrom
fb_associate
Open

Formsy: validation messages update on prop changes#2051
labkey-nicka wants to merge 3 commits into
developfrom
fb_associate

Conversation

@labkey-nicka

@labkey-nicka labkey-nicka commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Rationale

This remedies a render lifecycle problem in our Formsy implementation. Formerly, when a validation component was passed, prop changes on that component would not necessarily result in a re-render causing stale rendering. Now validation component props are checked for changes upon component update.

Related Pull Requests

Changes

  • Introduce isShallowSame check and compare validation components on component update
  • Update useDataChangeCommentsRequired to furnish loading state

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.

1 participant