Skip to content

Commit 1094de2

Browse files
committed
Support email field types in simple "string" arrays
1 parent 4b54a3e commit 1094de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/js/services/record-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ module fng.services {
264264
if (aSchema.needsX) {
265265
result = true;
266266
} else if (!aSchema.directive) {
267-
if (aSchema.type === "text") {
267+
if (["text","email"].includes(aSchema.type)) {
268268
result = true;
269269
} else if (aSchema.type === "select" && !aSchema.ids) {
270270
result = true;

0 commit comments

Comments
 (0)