-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I think it would be great to add an "Email Address" datatype instance:
and set this as datatype instead:
https://github.com/umbraco/Umbraco.UIBuilder.Demo/blob/main/src/Umbraco.UIBuilder.Demo/UmbracoBuilderExtensions.cs#L47
.AddField(c => c.Email).SetDataType("Email Address").SetValidationRegex("[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-.]+")
or the guid overload method in umbraco/Umbraco.UIBuilder.Issues#67
Eventually it could add constants like this in core:
https://github.com/umbraco/Umbraco-CMS/blob/8e609af90168a7c5e088b30193266733269457ec/src/Umbraco.Core/Constants-DataTypes.cs
Metadata
Metadata
Assignees
Labels
No labels
