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
Combination of "restrictions.requiredMetaFields" in Uppy.Core and "metaFields" in Uppy.Dashboard as function call results in an error inside uppy-library on opening the FileCard to edit metafields (auto-open after upload in the attached sandbox).
Expected behavior
Making sure that the metafields to call is an array before calling filter().
Actual behavior
Theres a filter() call on metafields, so excepted is an array but it is possible to define metafields as a function call.
Error message: "Uncaught (in promise) TypeError: metaFields.filter is not a function"
The text was updated successfully, but these errors were encountered:
Initial checklist
Link to runnable example
https://codesandbox.io/s/uppy-dashboard-forked-i4iuvf
Steps to reproduce
Combination of "restrictions.requiredMetaFields" in Uppy.Core and "metaFields" in Uppy.Dashboard as function call results in an error inside uppy-library on opening the FileCard to edit metafields (auto-open after upload in the attached sandbox).
Expected behavior
Making sure that the metafields to call is an array before calling filter().
Actual behavior
Theres a filter() call on metafields, so excepted is an array but it is possible to define metafields as a function call.
Error message: "Uncaught (in promise) TypeError: metaFields.filter is not a function"
The text was updated successfully, but these errors were encountered: