Skip to content

Commit

Permalink
Merge pull request #1373 from GSA/sb-fixes
Browse files Browse the repository at this point in the history
Storybook file input demo fix
  • Loading branch information
yerramshilpa authored Dec 27, 2023
2 parents ca8798e + 733fa08 commit 01ddeb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class BasicFileInputComponent {
label: 'Basic File Input',
description: 'Accepts single file',
hideOptional: true,
displayFileInfo: true,
},
validation: {
messages: {
Expand All @@ -34,6 +35,7 @@ export class BasicFileInputComponent {
description: 'Accepts Multiple Files',
multiple: true,
hideOptional: true,
displayFileInfo: true,
},
},
{
Expand All @@ -44,6 +46,7 @@ export class BasicFileInputComponent {
description: 'Only PDF, CSV, or any image format files are allowed',
multiple: true,
hideOptional: true,
displayFileInfo: true,
acceptFileType: '.pdf,.csv,image/*',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class BasicFileInputComponent {
label: 'Basic File Input',
description: 'Accepts single file',
hideOptional: true,
displayFileInfo: true,
},
validation: {
messages: {
Expand All @@ -34,6 +35,7 @@ export class BasicFileInputComponent {
description: 'Accepts Multiple Files',
multiple: true,
hideOptional: true,
displayFileInfo: true,
},
},
{
Expand All @@ -44,6 +46,7 @@ export class BasicFileInputComponent {
description: 'Only PDF, CSV, or any image format files are allowed',
multiple: true,
hideOptional: true,
displayFileInfo: true,
acceptFileType: '.pdf,.csv,image/*',
},
},
Expand Down

0 comments on commit 01ddeb4

Please sign in to comment.