Skip to content

Commit

Permalink
fix(rdom-forms): fix multiFile() handling/detection
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Mar 27, 2024
1 parent feb3b24 commit 5339339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rdom-forms/src/compile.ts
Expand Up @@ -484,7 +484,7 @@ export const compileForm: MultiFn2<

file: ($val, opts) => {
const val = <FileVal>$val;
const isMulti = val.id.startsWith("multi");
const isMulti = val.type.startsWith("multi");
return __component(
val,
opts,
Expand Down

0 comments on commit 5339339

Please sign in to comment.