uppy/website
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
..
private_modules/hexo-renderer-uppyexamples error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
scripts Update Linter (#2796) 2021-03-15 16:25:17 +00:00
src Dashboard: add required option to metaFields (#2896) 2021-07-29 13:15:36 +01:00
themes/uppy Add Box (#3004) 2021-07-28 23:39:23 +01:00
_config.yml website: update to postcss 7 2019-05-20 11:31:38 +02:00
build-examples.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
doc-order.json Update from master 2016-02-01 00:53:55 -05:00
inject.js Add @uppy/drop-target — drag and drop files on any existing DOM element (#2836) 2021-03-31 16:29:03 +01:00
package.json error on import lint failure + some misc lint fixes (#2813) 2021-03-20 11:02:49 +01:00
postcss.config.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
VUEORG_LICENSE Rename LICENSE to VUE 2015-11-29 14:22:03 +01:00