diff --git a/libs/documentation/src/lib/components/formly-file-input/demos/basic-file-input/basic-file-input.component.ts b/libs/documentation/src/lib/components/formly-file-input/demos/basic-file-input/basic-file-input.component.ts index 469738759f..2054c38247 100644 --- a/libs/documentation/src/lib/components/formly-file-input/demos/basic-file-input/basic-file-input.component.ts +++ b/libs/documentation/src/lib/components/formly-file-input/demos/basic-file-input/basic-file-input.component.ts @@ -16,6 +16,7 @@ export class BasicFileInputComponent { label: 'Basic File Input', description: 'Accepts single file', hideOptional: true, + displayFileInfo: true, }, validation: { messages: { @@ -34,6 +35,7 @@ export class BasicFileInputComponent { description: 'Accepts Multiple Files', multiple: true, hideOptional: true, + displayFileInfo: true, }, }, { @@ -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/*', }, }, diff --git a/libs/documentation/src/lib/storybook/formly/formly-file-input/formly-file-input-basic/formly-file-input-basic.component.ts b/libs/documentation/src/lib/storybook/formly/formly-file-input/formly-file-input-basic/formly-file-input-basic.component.ts index 50dadbbbdc..f4164144c0 100644 --- a/libs/documentation/src/lib/storybook/formly/formly-file-input/formly-file-input-basic/formly-file-input-basic.component.ts +++ b/libs/documentation/src/lib/storybook/formly/formly-file-input/formly-file-input-basic/formly-file-input-basic.component.ts @@ -16,6 +16,7 @@ export class BasicFileInputComponent { label: 'Basic File Input', description: 'Accepts single file', hideOptional: true, + displayFileInfo: true, }, validation: { messages: { @@ -34,6 +35,7 @@ export class BasicFileInputComponent { description: 'Accepts Multiple Files', multiple: true, hideOptional: true, + displayFileInfo: true, }, }, { @@ -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/*', }, },