Much better support for frontend field validation
This commit is contained in:
@ -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": {},
|
||||
|
Reference in New Issue
Block a user