From 2e339af9f21c3a7cfa52d6e32925f43e8bbebfba Mon Sep 17 00:00:00 2001 From: Sukchan Lee Date: Fri, 30 Jun 2017 21:35:19 +0900 Subject: [PATCH] update it --- webui/src/components/Subscriber/Edit.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webui/src/components/Subscriber/Edit.js b/webui/src/components/Subscriber/Edit.js index acedd65ad..093bc1d70 100644 --- a/webui/src/components/Subscriber/Edit.js +++ b/webui/src/components/Subscriber/Edit.js @@ -13,6 +13,7 @@ const schema = { "title": "IMSI (International Mobile Subscriber Identity)", "required": true, "pattern": "^\\d+$", + "maxLength": 15, "messages": { "pattern": "Only digits are allowed" } @@ -71,8 +72,10 @@ const schema = { "type": "array", "title": "PDN - Packet Data Network", "minItems": 1, + "maxItems": 8, "messages": { - "minItems": "At least one PDN is required" + "minItems": "At least 1 PDN is required", + "maxItems": "8 PDNs are supported" }, "items": { "type": "object",