From 4363bd27135d3fcc7797a4991d65dac0455458f5 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Tue, 20 Apr 2021 15:23:18 -0700 Subject: [PATCH] Added asterisk for required property --- .../main/resources/dynamic-http-metadata-provider.schema.json | 4 ++++ ui/src/app/schema-form/widget/string/string.component.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/main/resources/dynamic-http-metadata-provider.schema.json b/backend/src/main/resources/dynamic-http-metadata-provider.schema.json index 28758fee6..2237352d7 100644 --- a/backend/src/main/resources/dynamic-http-metadata-provider.schema.json +++ b/backend/src/main/resources/dynamic-http-metadata-provider.schema.json @@ -86,6 +86,10 @@ "title": "label.match", "description": "tooltip.match", "type": "string", + "widget": { + "id": "string", + "required": true + }, "visibleIf": { "@type": [ "Regex" diff --git a/ui/src/app/schema-form/widget/string/string.component.html b/ui/src/app/schema-form/widget/string/string.component.html index c9174bd3c..561d5f8e4 100644 --- a/ui/src/app/schema-form/widget/string/string.component.html +++ b/ui/src/app/schema-form/widget/string/string.component.html @@ -2,7 +2,7 @@