From 650cc75df01bb45f2bfe35d773442d854ff32d4b Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 3 Oct 2023 16:18:48 +0200 Subject: [PATCH] if value is set from outside mark as not required --- ccp/js/inputwidgetcontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/js/inputwidgetcontroller.js b/ccp/js/inputwidgetcontroller.js index 3163288..08dd748 100644 --- a/ccp/js/inputwidgetcontroller.js +++ b/ccp/js/inputwidgetcontroller.js @@ -402,7 +402,7 @@ class CCPFileInputWidgetController extends CCPBaseInputWidgetController{ if(this.value.length <= 1){ const v = this.value.length ? this.value[0] : '' return ` - + ${v.substr(0,5) + "..." + v.substr(v.length-5)} ` }