-
Notifications
You must be signed in to change notification settings - Fork 20
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
Issues with warning and info FieldFeedback type #49
Comments
I found a quick fix in this file: from:
to:
PS: |
Sorry for the delay, I'm AFK until mid december. An input can have warnings and/or infos and still be valid. Ce n'est pas exclusif. Here the related Sass code source: https://github.com/tkrotoff/react-form-with-constraints/blob/v0.14.0/packages/react-form-with-constraints-bootstrap4/scss/bootstrap.scss#L143-L150 Je pense que dans ton exemple le "wording" des feedbacks n'est pas le bon et devrait être :
|
Overriding CSS will be the easiest solution thx! |
In the example below, I have 3 FieldFeedback of different type (error, warning and info).
As you can see, except for error, the inputs for warning and info have respectively these classes
'is-warning is-valid'
and'is-info is-valid'
(so'is-valid'
style is applied) while error input class has notis-valid
class.Is it a wanted behavior?
Thanks ;)
Codesandbox => https://codesandbox.io/s/react-form-with-constraint-bootstrap4-mujvc
The text was updated successfully, but these errors were encountered: