You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"type": "string","format": "date-time",// -> type datetime-local NOTE: no timezone!"enum": ["foo","bar"],// -> two radio inputs"format": "email",// -> type email"format": "date",// -> type date"format": "time",// -> type time"format": "uri",// -> type url NOTE: url is more specific than uri"format": "regex",// -> type text"pattern": someRegex,// -> type from format & pattern regex"minLength": n,// -> minlength n"maxLength": n,// -> maxlength n"const": value,// -> type from type & disabled true}
Describe the bug
Currently we get
type: "text"
for every string type regardless of the format set.Expected behavior
Kratos should set the corresponding HTML input type/pattern for the format set in the identity traits schema.
The text was updated successfully, but these errors were encountered: