add autocomplete field for #7086

This commit is contained in:
Sebastian 2022-01-24 17:08:52 -03:00
parent 26ee8e3c71
commit 1e1e297d1a
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 4 additions and 1 deletions

View File

@ -339,6 +339,7 @@ export const anastasisData = {
"validation-regex":
"^(756).[0-9]{4}.[0-9]{4}.[0-9]{2}|(756)[0-9]{10}$",
"validation-logic": "CH_AHV_check",
autocomplete: "???.????.????.??"
},
],
},
@ -693,7 +694,8 @@ export const anastasisData = {
},
widget: "anastasis_gtk_ia_ssn_us",
uuid: "310a138c-b0b7-4985-b8b8-d00e765e9f9b",
"validation-regex": "^d{3}-d{2}-d{4}$",
"validation-regex": "^[0-9]{3}-[0-9]{2}-[0-9]{4}$",
autocomplete: "???-??-????",
},
],
},

View File

@ -144,6 +144,7 @@ export interface UserAttributeSpec {
optional?: boolean;
"validation-regex": string | undefined;
"validation-logic": string | undefined;
autocomplete?: string;
}
export interface RecoveryInternalData {