Skip to content

Commit 080dfce

Browse files
author
edencoder
committed
add cache
1 parent 31b7fb5 commit 080dfce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bundles/form/helpers/form.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class FormHelper extends Helper {
9999
*
100100
* @return {*}
101101
*/
102-
async sanitise({ req, fields, children, nonce, allowEmpty, trail = [] }, form, current) {
102+
async sanitise({ req, fields, children, nonce, allowEmpty, trail = [], cache = {} }, form, current) {
103103
// data
104104
const result = {};
105105

@@ -120,6 +120,7 @@ class FormHelper extends Helper {
120120
req,
121121
form,
122122
nonce,
123+
cache,
123124
trail,
124125
current,
125126
children,

0 commit comments

Comments
 (0)