Much better support for frontend field validation

This commit is contained in:
garronej
2021-10-25 21:26:08 +02:00
parent 92fb3b7529
commit 3aad681538
11 changed files with 780 additions and 204 deletions

View File

@ -210,6 +210,7 @@ export const kcContextMocks: KcContextBase[] = [
"autocomplete": "username",
"readOnly": false,
"name": "username",
"value": "xxxx",
},
{
"validators": {
@ -226,6 +227,10 @@ export const kcContextMocks: KcContextBase[] = [
"email": {
"ignore.empty.value": true,
},
"pattern": {
"ignore.empty.value": true,
"pattern": "gmail\\.com$",
},
},
"displayName": "${email}",
"annotations": {},