Use `ItemListFormField` for event name in event listener PIP GUI (#3182)
authorFabii547 <Fabii547@users.noreply.github.com>
Fri, 27 Mar 2020 15:43:33 +0000 (16:43 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Mar 2020 15:43:33 +0000 (16:43 +0100)
wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php

index d9973e82a8894c96a87858a919bc637e6afd3245..fee2f48b81785e5f0d0cb8e1bd06bd81deabe8a1 100644 (file)
@@ -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')