You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just add <n-upload> with <n-upload-dragger> inside, then select one file and THEN select another file. Each step only allow one file, but when you select the second file, the first does not go away.
Expected results (期望的结果)
Only allow to select one file, wether they are selected at the same time or added later.
Actual results (实际的结果)
It allows multiple files to be selected, even when using <n-upload :multiple="false">
Remarks (补充说明)
The text was updated successfully, but these errors were encountered:
TuSimple/naive-ui version (版本)
2.15.2
Vue version (Vue 版本)
3.1.4
Browser and its version (浏览器及其版本)
Microsoft Edge Version 91.0.864.59 (64 bits)
System and its version (系统及其版本)
Windows 10 with WSL2
Node version (Node 版本)
Reappearance link (重现链接)
https://github.com/arijs/naiveui-issue-nupload-single-file
Reappearance steps (重现步骤)
Just add
<n-upload>
with<n-upload-dragger>
inside, then select one file and THEN select another file. Each step only allow one file, but when you select the second file, the first does not go away.Expected results (期望的结果)
Only allow to select one file, wether they are selected at the same time or added later.
Actual results (实际的结果)
It allows multiple files to be selected, even when using
<n-upload :multiple="false">
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: