@saltcorn/markup
Advanced tools
Comparing version 0.9.5-beta.10 to 0.9.5-beta.11
@@ -768,3 +768,4 @@ "use strict"; | ||
const mkFormWithLayout = (form, csrfToken) => { | ||
const hasFile = form.fields.some((f) => f.multipartFormData); | ||
const hasFile = form.fields.some((f) => f.multipartFormData || | ||
(f.isRepeat && f.fields.some((f2) => f2.multipartFormData))); | ||
const csrfField = `<input type="hidden" name="_csrf" value="${csrfToken}">`; | ||
@@ -771,0 +772,0 @@ const extraValues = {}; |
{ | ||
"name": "@saltcorn/markup", | ||
"version": "0.9.5-beta.10", | ||
"version": "0.9.5-beta.11", | ||
"description": "Markup for Saltcorn, open-source no-code platform", | ||
@@ -38,3 +38,3 @@ "homepage": "https://saltcorn.com", | ||
"devDependencies": { | ||
"@saltcorn/types": "0.9.5-beta.10", | ||
"@saltcorn/types": "0.9.5-beta.11", | ||
"@types/escape-html": "^1.0.1", | ||
@@ -41,0 +41,0 @@ "@types/jest": "^29.5.11", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
254976
3359