uppy/examples/dev
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
..
output Feature/replace dnd in drag drop package (#1565) 2019-06-05 17:04:34 +03:00
Dashboard.html Feature/replace dnd in drag drop package (#1565) 2019-06-05 17:04:34 +03:00
Dashboard.js Dashboard: add required option to metaFields (#2896) 2021-07-29 13:15:36 +01:00
DragDrop.html Make DragDrop entirely clickable (#1633) 2019-06-19 20:14:44 +03:00
DragDrop.js error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
index.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
package.json lerna link convert (#1730) 2019-07-19 12:16:36 +02:00
sw.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00