From: Vincent Vanwaelscappel Date: Wed, 13 Dec 2023 15:28:52 +0000 (+0100) Subject: wip #6496 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d51e42b8158047a11aeeb0019cd7972613f75852;p=cubist_cms-back.git wip #6496 @0.25 --- diff --git a/src/resources/views/when.blade.php b/src/resources/views/when.blade.php index e741ed2..e5ce471 100644 --- a/src/resources/views/when.blade.php +++ b/src/resources/views/when.blade.php @@ -63,7 +63,9 @@ var matchproperty = false; $.each(conditions, function (k, condition) { - if (condition.id === val) { + if ((condition.id === '_not_empty_' && val.toString().length > 0) || + condition.id === val) { + matchproperty = true; order = Math.min(order, condition.order); return false;