From d51e42b8158047a11aeeb0019cd7972613f75852 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 13 Dec 2023 16:28:52 +0100 Subject: [PATCH] wip #6496 @0.25 --- src/resources/views/when.blade.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5