From 8a53406ef29582bf1e0c8e22fe43421f012597c1 Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Fri, 27 Mar 2020 16:43:33 +0100 Subject: [PATCH] Use `ItemListFormField` for event name in event listener PIP GUI (#3182) --- .../plugin/EventListenerPackageInstallationPlugin.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php index d9973e82a8..fee2f48b81 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php @@ -12,6 +12,7 @@ use wcf\system\form\builder\container\FormContainer; use wcf\system\form\builder\field\BooleanFormField; use wcf\system\form\builder\field\ClassNameFormField; use wcf\system\form\builder\field\IntegerFormField; +use wcf\system\form\builder\field\ItemListFormField; use wcf\system\form\builder\field\option\OptionFormField; use wcf\system\form\builder\field\SingleSelectionFormField; use wcf\system\form\builder\field\TextFormField; @@ -232,7 +233,7 @@ class EventListenerPackageInstallationPlugin extends AbstractXMLPackageInstallat ->required() ->instantiable(false), - TextFormField::create('eventName') + ItemListFormField::create('eventName') ->objectProperty('eventname') ->label('wcf.acp.pip.eventListener.eventName') ->description('wcf.acp.pip.eventListener.eventName.description') -- 2.20.1