From 72cbc9cdfa4f4a1dd6b29dce83741a671ef6e310 Mon Sep 17 00:00:00 2001 From: asledzinskiy Date: Tue, 25 Aug 2015 16:17:09 +0300 Subject: [PATCH] Add validation on emptyness of additional config - We need to validate additional config textarea on empty values Change-Id: I3f4ab52a0027e11a75cd077c2db7113fdaef1c52 Related-Bug: #1488455 --- environment_config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/environment_config.yaml b/environment_config.yaml index 3e46d23..28f5c6c 100644 --- a/environment_config.yaml +++ b/environment_config.yaml @@ -11,3 +11,6 @@ attributes: queue_provider: 'rabbitmq' label: "Additional config" description: "Just put here valid yaml" + regex: + source: '.+' + error: "This field should not be empty"