-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(input): updates to error-text prop
- Loading branch information
1 parent
8a23ca7
commit 1fd2ea9
Showing
6 changed files
with
63 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ import { extractArgTypes } from '@pxtrn/storybook-addon-docs-stencil'; | |
|
||
export const Template = (args) => html`<sage-input | ||
disabled="${args.disabled}" | ||
errorText="${args.errorText}" | ||
error-text="${args.errorText}" | ||
hint="${args.hint}" | ||
label="${args.label}" | ||
name="${args.name}" | ||
|
@@ -75,7 +75,7 @@ export const Template = (args) => html`<sage-input | |
|
||
### Error | ||
<Canvas> | ||
<Story name="Error" args={{ errorText:'Please provide descriptive error text', hint: 'Please use the correct format', label: 'Email', type: 'email', value: '[email protected]' }}> | ||
<Story name="Error" args={{ errortext:'Please provide descriptive error text', label: 'Email', type: 'email', value: '[email protected]' }}> | ||
{Template.bind()} | ||
</Story> | ||
</Canvas> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters