-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Message of type warning, success and error does not show up inside Form. #1357
Comments
The CSS is intentional so that the form state shows/hides message children of the same state: http://react.semantic-ui.com/collections/form#success |
If someone else will have this problem: Setting the |
I spent a ton of time discovering this, as it's not specified anywhere in the I just tried to display a message for loading-success-error of the initial population of a form. That data is fetched from server, so I just wanted to give the user some feedback. The message didn't display there, but it did in the rest of my app, so I obviously thought it was not the Well happens that Thanks! |
@levithomason how would the scenario, where some fields have errors and some fields have warnings be handled? |
I noticed that
Message
of typewarning
,success
anderror
won't be displayed inside aForm
according to the Semantic UI css declaration:Is there any specific reason of excluding these three types of messages to be shown inside a form while allowing other message types/synonyms? I do see them being mentioned as form states in the Form docs though.
Steps
Form
.Form
, create three individualMessage
with propwarning
,success
anderror
.Expected Result
It should display messages mentioned above.
Actual Result
It does not show any message.
Version
0.65.0
Testcase
http://codepen.io/kingdido999/pen/ggVpQY?editors=1010
The text was updated successfully, but these errors were encountered: