You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
George Gevoian
ae6a46dd59
|
4 months ago | |
---|---|---|
.. | ||
README.md | 4 months ago | |
form-not-found.svg | 4 months ago | |
form-submitted.svg | 4 months ago | |
form.css | 4 months ago | |
form.html | 4 months ago | |
grist-form-submit.js | 4 months ago | |
logo.png | 4 months ago | |
purify.min.js | 5 months ago |
README.md
grist-form-submit.js
File is taken from https://github.com/gristlabs/grist-form-submit. But it is modified to work with forms, especially for:
- Ref and RefList columns, as by default it sends numbers as strings (FormData issue), and Grist doesn't know how to convert them back to numbers.
- Empty strings are not sent at all - otherwise Grist won't be able to fire trigger formulas correctly and provide default values for columns.
- By default it requires a redirect URL, now it is optional.
purify.min.js
File taken from https://www.npmjs.com/package/dompurify. It is used to sanitize HTML. It wasn't modified at all.
form.html
This is handlebars template filled by DocApi.ts