mammoth-family-48524
08/21/2022, 10:39 AMblue-ghost-19146
08/21/2022, 11:42 AMpackage-lock.json
is only compatible with node 14 or lower. I really don't know much about JS modules/dependencies etc, but using Node 14 did work for me. Do the docs or the package-lock.json need updating?ripe-action-67367
08/21/2022, 12:02 PMripe-action-67367
08/21/2022, 12:02 PMblue-ghost-19146
08/21/2022, 12:05 PMblue-ghost-19146
08/21/2022, 12:06 PMmysterious-toddler-20573
08/21/2022, 1:55 PMmysterious-toddler-20573
08/21/2022, 1:55 PMmysterious-toddler-20573
08/21/2022, 1:55 PMhappy-knife-63802
08/21/2022, 2:20 PMmysterious-toddler-20573
08/21/2022, 2:38 PMblue-ghost-19146
08/21/2022, 2:38 PMmysterious-toddler-20573
08/21/2022, 2:38 PMmysterious-toddler-20573
08/21/2022, 2:39 PMhx-validate
attributemysterious-toddler-20573
08/21/2022, 2:39 PMmysterious-toddler-20573
08/21/2022, 2:50 PMblue-ghost-19146
08/21/2022, 2:52 PMhappy-knife-63802
08/21/2022, 2:59 PMmysterious-toddler-20573
08/21/2022, 3:01 PMmysterious-toddler-20573
08/21/2022, 3:02 PMjs
// only validate when form is directly submitted and novalidate or formnovalidate are not set
// or if the element has an explicit hx-validate="true" on it
var validate = (matches(elt, 'form') && elt.noValidate !== true) || getAttributeValue(elt, "hx-validate") === "true";
if (internalData.lastButtonClicked) {
validate = validate && internalData.lastButtonClicked.formNoValidate !== true;
}
echoing-nest-31408
08/21/2022, 3:29 PMhappy-knife-63802
08/21/2022, 4:01 PMblue-ghost-19146
08/21/2022, 4:09 PMmysterious-toddler-20573
08/21/2022, 4:19 PMrhythmic-shoe-62185
08/21/2022, 6:39 PMmysterious-toddler-20573
08/21/2022, 7:19 PMmysterious-toddler-20573
08/21/2022, 7:19 PMaloof-crayon-56651
08/21/2022, 7:22 PMechoing-nest-31408
08/22/2022, 6:40 AMloud-action-20310
08/22/2022, 9:23 AM