diff --git a/application/forms/IcingaAddServiceForm.php b/application/forms/IcingaAddServiceForm.php index 8d7fa4fd..fa5571f1 100644 --- a/application/forms/IcingaAddServiceForm.php +++ b/application/forms/IcingaAddServiceForm.php @@ -100,15 +100,12 @@ class IcingaAddServiceForm extends DirectorObjectForm return $this; } - - $this->addElement('select', 'imports', [ + $this->addElement('text', 'imports', [ 'label' => $this->translate('Service'), - 'description' => $this->translate( - 'Choose a service template' - ), + 'description' => $this->translate('Choose a service template'), 'required' => true, - 'multiOptions' => $this->optionalEnum($enum), - 'class' => 'autosubmit' + 'data-suggestion-context' => 'servicetemplates', + 'class' => 'autosubmit director-suggest' ]); return $this; diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index a62c759a..f3efe3c4 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -25,6 +25,7 @@ next (will be 1.9.0) * FIX: show Override button when all Fields belong to Field Categories (#2303) * FIX: show Services applied with Rules involving applied Hostgroups (#2313) * FEATURE: show "deprecated" flag on object attribute inspection (#2312) +* FEATURE: Service Template for single Host services provides auto-completion (#1974) next patch release (will be 1.8.1) ----------------------------------