fix missing name
This commit is contained in:
parent
33c1759f16
commit
b45dd3ed4d
@ -49,7 +49,7 @@ export function InputFile<T>({ onChange, children }: Props): VNode {
|
||||
ref={image}
|
||||
style={{ display: "none" }}
|
||||
type="file"
|
||||
name={String(name)}
|
||||
// name={String(name)}
|
||||
onChange={(e) => {
|
||||
const f: FileList | null = e.currentTarget.files;
|
||||
if (!f || f.length != 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user