Skip to content

Add Field Level Help and Inline Help variants to Input #1491

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

Merged
merged 2 commits into from
Aug 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions components/component-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -4507,6 +4507,13 @@
"required": false,
"description": "Message to display when the input is in an error state. When this is present, also visually highlights the component as in error."
},
"fieldLevelHelpTooltip": {
"type": {
"name": "node"
},
"required": false,
"description": "A [Tooltip](https://react.lightningdesignsystem.com/components/tooltips/) component that is displayed next to the label. The props from the component will be merged and override any default props."
},
"fixedTextLeft": {
"type": {
"name": "union",
Expand Down Expand Up @@ -4565,6 +4572,13 @@
"required": false,
"description": "Every input must have a unique ID in order to support keyboard navigation and ARIA support."
},
"inlineHelpText": {
"type": {
"name": "string"
},
"required": false,
"description": "Displays help text under the input."
},
"inputRef": {
"type": {
"name": "func"
Expand Down
2 changes: 2 additions & 0 deletions components/input/__docs__/site-stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const siteStories = [
require('raw-loader!@salesforce/design-system-react/components/input/__examples__/icons.jsx'),
require('raw-loader!@salesforce/design-system-react/components/input/__examples__/error.jsx'),
require('raw-loader!@salesforce/design-system-react/components/input/__examples__/inactiveInputs.jsx'),
require('raw-loader!@salesforce/design-system-react/components/input/__examples__/inline-help.jsx'),
require('raw-loader!@salesforce/design-system-react/components/input/__examples__/field-level-help.jsx'),
];

module.exports = siteStories;
Loading