Skip to content

Commit 774e5ad

Browse files
committed
fix: file upload field elipsis
1 parent 1caa5d1 commit 774e5ad

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/Form/FieldUpload/index.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ export const FieldUpload = <
7777
) : (
7878
<Icon as={FiPaperclip} mr="2" />
7979
)}
80-
{!props.isLoading && (!value ? props.inputText : value.name)}
80+
{!props.isLoading && (
81+
<chakra.span noOfLines={1}>
82+
{!value ? props.inputText : value.name}
83+
</chakra.span>
84+
)}
8185
</Input>
8286

8387
<FormFieldError />

0 commit comments

Comments
 (0)