Skip to content

Commit 2fad5d6

Browse files
committed
feat(FileInput): accept prop support * 4
1 parent 1e8edff commit 2fad5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/forms/FileInput/FileInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function FileInput(props: CubeFileInputProps, ref) {
162162
defaultValidationTrigger: 'onChange',
163163
valuePropsMapper: ({ value, onChange }) => ({
164164
onChange,
165-
value: undefined,
165+
value,
166166
}),
167167
},
168168
);

0 commit comments

Comments
 (0)