From 8dc11316eea0c6774c466c2e9f061fa2230e458b Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 22 Aug 2019 17:16:45 +0200 Subject: [PATCH] Automatically enable multiple values support when setting min/max multiples --- .../lib/system/form/builder/field/TMultipleFormField.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/TMultipleFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/TMultipleFormField.class.php index a3f334f3dd..5447d09e8c 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/TMultipleFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/TMultipleFormField.class.php @@ -101,6 +101,7 @@ trait TMultipleFormField { } $this->maximumMultiples = $maximum; + $this->multiple(); return $this; } @@ -124,6 +125,7 @@ trait TMultipleFormField { } $this->minimumMultiples = $minimum; + $this->multiple(); return $this; } -- 2.20.1