From 6f9498870287a9eb362f2659cb19c78b82e8d6d8 Mon Sep 17 00:00:00 2001 From: Zack Yang Date: Thu, 21 Feb 2019 00:05:46 +0800 Subject: [PATCH] fix(bug): fix password validator --- src/component/component.resource.json | 5 ++--- src/component/form/form.tpl.html | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/component/component.resource.json b/src/component/component.resource.json index f5c4d75..e882b47 100644 --- a/src/component/component.resource.json +++ b/src/component/component.resource.json @@ -66,12 +66,11 @@ "key": "pdpContext.primary.auth.password", "type": "password", "templateOptions": { - "label": "CELLULAR_FORM_PRIMARY_AUTH_PASSWORD", - "required": true + "label": "CELLULAR_FORM_PRIMARY_AUTH_PASSWORD" }, "validators": { "password": { - "expression": "", + "expression": "'*'", "message": "" } }, diff --git a/src/component/form/form.tpl.html b/src/component/form/form.tpl.html index 50b55f4..c8edd5b 100644 --- a/src/component/form/form.tpl.html +++ b/src/component/form/form.tpl.html @@ -49,5 +49,4 @@ -