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

Semantic UI is missing error class on Form.Group when field is invalid #2666

Closed
coreyjv opened this issue Jan 19, 2022 · 1 comment
Closed
Labels
bug semantic-ui semantic-ui related theme issue

Comments

@coreyjv
Copy link

coreyjv commented Jan 19, 2022

Description

When using @rjsf/semantic-ui fields that are in an error state don't render with the proper class attached to the Form.Group component as defined here.

Steps to Reproduce

  1. Open Code Sandbox
  2. Enter values in field and press submit

Expected behavior

Expect the error class to be applied to the field so it renders properly

Actual behavior

The error class is not attached and therefore the input looks like it is not in an error state

Version

    "@rjsf/core": "3.2.1",
    "@rjsf/semantic-ui": "3.2.1",
    "semantic-ui-css": "2.4.1",
    "semantic-ui-react": "2.0.4"
@jacqueswho jacqueswho added bug semantic-ui semantic-ui related theme issue labels Feb 22, 2022
@heath-freenome
Copy link
Member

Fixed in v5 beta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug semantic-ui semantic-ui related theme issue
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants