From e056d13bffcfb74a90b05602084a4ff2119490ff Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 1 Jun 2015 17:27:44 +0200 Subject: [PATCH] IcingaCommandArgumentForm: add required format field --- application/forms/IcingaCommandArgumentForm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/forms/IcingaCommandArgumentForm.php b/application/forms/IcingaCommandArgumentForm.php index 123564b1..6619207f 100644 --- a/application/forms/IcingaCommandArgumentForm.php +++ b/application/forms/IcingaCommandArgumentForm.php @@ -24,6 +24,9 @@ class IcingaCommandArgumentForm extends DirectorObjectForm 'label' => $this->translate('Value'), 'description' => $this->translate('e.g. 5%, $hostname$, $lower$%:$upper$%') )); + + $this->addHidden('value_format', 'string'); // expression, json? + /* $this->optionalBoolean( 'required',