Skip to content

Bug: Incorrect 'error' state in the form in the Login component #24

@JNieuwhuis

Description

@JNieuwhuis

In the case of a formError in the Login component these classes should be added according to your code:
https://github.com/vtex/styleguide/blob/master/react/components/Input/index.js#L138-L139
However, the state of 'error' doesn't resolve to true, even if a formError is present. This results in an incorrect visual display of the input field:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions