Skip to content
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

Merged
merged 4 commits into from
Jun 6, 2018
Merged

[core] better FormGroup #2570

merged 4 commits into from
Jun 6, 2018

Conversation

giladgray
Copy link
Contributor

@giladgray giladgray commented Jun 5, 2018

Fixes #2460, fixes #2416

Changes proposed in this pull request:

  • 🔥 requiredLabellabelInfo, remove "required" feature
  • refactor docs and add React example

@blueprint-bot
Copy link

fix test

Preview: 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;
Copy link
Contributor Author

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

@giladgray giladgray requested a review from invliD June 6, 2018 17:51
<Example options={options} {...this.props}>
<FormGroup
disabled={disabled}
helperText={helperText && "Helper text with details..."}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use instead of ...?

Copy link
Contributor Author

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

@giladgray giladgray merged commit 4c40ada into develop Jun 6, 2018
@giladgray giladgray deleted the gg/better-form-group branch June 6, 2018 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deconflict Label and FormGroup [bug] missing space between label and requiredLabel
3 participants