Skip to content

Conversation

@ToMESSKa
Copy link
Contributor

@ToMESSKa ToMESSKa commented Dec 16, 2025

INSTUI-4871

ISSUE:

  • the remaining of tokens in FormFieldGroup needs to be removed because they are now longer needed for newError-style errors
  • FormFieldMessages theme.ts needs to be removed

TEST PLAN:

  • test FormField, FormFieldGroup, CheckBoxGroup, RadioInputGroup and DateTimeInput examples with errors, there should be no visual change from the current v12

@github-actions
Copy link

github-actions bot commented Dec 16, 2025

PR Preview Action v1.6.3

🚀 View preview at
https://instructure.design/pr-preview/pr-2311/

Built to branch gh-pages at 2025-12-16 11:01 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Comment on lines 46 to -48
label: 'formFieldGroup',
border: `${componentTheme.borderWidth} ${componentTheme.borderStyle} ${componentTheme.borderColor}`,
borderRadius: componentTheme.borderRadius,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these tokens were used for the old error style (border around all the children, newError style does not use them), but I forgot to remove them form here: #2273

Comment on lines 38 to +39
const generateStyle = (
componentTheme: FormFieldGroupTheme,
_componentTheme: FormFieldGroupTheme,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both FormFieldGroup and FormFieldMessages are components that have no tokens anymore and therefore the style.ts files have no theme.

@ToMESSKa ToMESSKa self-assigned this Dec 16, 2025
@ToMESSKa ToMESSKa force-pushed the INSTUI-4871-form-field-group-rework branch from 4549eee to e2711a5 Compare December 16, 2025 10:56
@ToMESSKa ToMESSKa changed the title feat(ui-form-field): rework FormFieldGroup [v12] feat(ui-form-field): rework FormFieldGroup Dec 16, 2025
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.

2 participants