uppy/examples
Antoine du Hamel 56b84dfec7
Dashboard: add required option to metaFields (#2896)
* Dashboard: add `required` option to `metaFields`

Fixes: https://github.com/transloadit/uppy/issues/2892

* use `<form>` element to allow users to use all built-in form features
from the web browser.

* remove `saveOnEnter` hack

The fields are now inside a form, saving on Enter is the default
behavior – and it doesn't short-circuit form validation checks.

* restrictions.requiredMetaFields

* fix documentation of restrictions.requiredMetaFields

* check for required meta fields on upload

* Use detached `<form>` element to avoid nesting `<form>` elements

* fixup! Use detached `<form>` element to avoid nesting `<form>` elements

* Use `cuid` to generate `<form>` `id`
2021-07-29 13:15:36 +01:00
..
angular-example Update package.json 2021-06-30 20:12:59 +01:00
aws-companion error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
aws-presigned-url error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
bundled Dashboard: add required option to metaFields (#2896) 2021-07-29 13:15:36 +01:00
cdn-example Release 2021-06-30 23:07:21 +01:00
custom-provider Use cors module instead of custom cors logic (#2823) 2021-03-26 19:38:23 +00:00
dev Dashboard: add required option to metaFields (#2896) 2021-07-29 13:15:36 +01:00
digitalocean-spaces error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
multiple-instances error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
node-xhr error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
php-xhr error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
python-xhr error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
react-example error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
react-native-expo Upgrade to eslint-config-transloadit@1.2.0 (#2830) 2021-03-25 13:51:50 +01:00
redux error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
svelte-example Base upgrades (#2856) 2021-04-19 16:20:23 +02:00
transloadit error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
transloadit-textarea Release 2021-06-30 23:07:21 +01:00
uppy-with-companion Release 2021-06-30 23:07:21 +01:00
vue Vue 3 support (#2755) 2021-03-24 16:01:45 +00:00
vue3 add private to vue3 example 2021-03-31 23:27:48 +01:00
xhr-bundle error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00