-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Form.Input, div class="error required field", margin-bottom: 1em. #2286
Comments
Or maybe the problem is this:
Why this? I think this is good instead:
|
Hello, @johnunclesam without completing the required codesandbox example with your report, we can't tell for sure what the problem is that you are experiencing. However, it does look like you are referencing CSS rules, which are out of scope for SUIR. All CSS issues should be reported to the core SUI repository here: https://github.com/Semantic-Org/Semantic-UI |
After this Semantic-Org/Semantic-UI#5918 (comment) I ask to reopen this issue because of this below SUIR code that generates wrong html. <Form className="attached segment" size="large">
<Form.Input
type="email"
name="email"
icon="at"
iconPosition="left"
label="Email"
error={true}
required
value={email}
onChange={this.onChange}
/>
<Label color="red" pointing="above">
myLabel
</Label>
</Form> |
@johnunclesam This issue was closed because it was related to applying inline styles incorrectly and it did not include a codesandbox example which is required for all bug reports. What you are pointing out here is different. Please open a new issue and complete the entire report including a codesandbox example. |
✔ BUGS (I think)
Steps
<Form.Input ... />
myLabel
Expected Result
<div class="error required field"><div class="ui left icon input">...</div></div>
with
margin-bottom: 0px
Actual Result
<div class="error required field"><div class="ui left icon input">...</div></div>
with
margin-bottom: 1em
from
Version
"semantic-ui-react": "^0.75.1",
The text was updated successfully, but these errors were encountered: