Skip to content

Commit 02a6b2f

Browse files
feat(FileExtensionSupport): add support for custom file extensions test cases
1 parent ac35d0c commit 02a6b2f

File tree

1 file changed

+9
-0
lines changed
  • it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/fileinput/fileinputv2/basic

1 file changed

+9
-0
lines changed

it/content/src/main/content/jcr_root/content/forms/af/core-components-it/samples/fileinput/fileinputv2/basic/.content.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@
8787
textIsRich="[true,true]"
8888
type="file[]"
8989
visible="{Boolean}true"/>
90+
<fileinput6
91+
jcr:primaryType="nt:unstructured"
92+
jcr:title="File Input - 6"
93+
sling:resourceType="core/fd/components/form/fileinput/v2/fileinput"
94+
accept="[audio/*, video/*, image/*, text/*, application/pdf,.ifc]"
95+
fieldType="file-input"
96+
readOnly="{Boolean}false"
97+
name="fileinput6"
98+
type="file"/>
9099
<submit
91100
jcr:lastModified="{Date}2023-01-17T16:28:58.844+05:30"
92101
jcr:lastModifiedBy="admin"

0 commit comments

Comments
 (0)