-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[core] better FormGroup #2570
[core] better FormGroup #2570
Conversation
fix testPreview: documentation | landing | table |
@@ -5,9 +5,6 @@ | |||
@import "../../common/variables"; | |||
@import "../button/common"; | |||
|
|||
$control-indicator-size: $pt-icon-size-standard !default; | |||
$control-indicator-size-large: $pt-icon-size-large !default; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move these to common so they can be reused
<Example options={options} {...this.props}> | ||
<FormGroup | ||
disabled={disabled} | ||
helperText={helperText && "Helper text with details..."} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use …
instead of ...
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's just an example
Fixes #2460, fixes #2416
Changes proposed in this pull request:
requiredLabel
⇒labelInfo
, remove "required" feature