AssetsImportType | TypeError: onSubmit is not a function

I’m playing around with this module and even the short example doesn’t really work when it comes to the configuration dialog.
It renders the dialog, I’m also able to add additional fields but the save configuration always throws TypeError: onSubmit is not a function

Any idea how to solve the problem?


Docs:

1 Like

I’ve found my problem. The Component parameter onSubmit was missing.

<AssetsAppImportTypeConfiguration onSubmit={onSubmit}>
3 Likes