From 9715414e7aacd3a29ac80f2c7c9a4de551020d3d Mon Sep 17 00:00:00 2001 From: ljf Date: Fri, 17 Sep 2021 04:35:30 +0200 Subject: [PATCH] [fix] No pattern validation client side for tags --- app/src/helpers/yunohostArguments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/helpers/yunohostArguments.js b/app/src/helpers/yunohostArguments.js index 0919227c..3541e23a 100644 --- a/app/src/helpers/yunohostArguments.js +++ b/app/src/helpers/yunohostArguments.js @@ -211,7 +211,7 @@ export function formatYunoHostArgument (arg) { else if (field.component !== 'CheckboxItem' && arg.optional !== true) { validation.required = validators.required } - if (arg.pattern) { + if (arg.pattern && arg.type !== 'tags') { // validation.pattern = validators.helpers.withMessage(arg.pattern.error, validation.pattern = validators.helpers.regex(arg.pattern.error, new RegExp(arg.pattern.regexp)) }