Describe the question
I am developing a custom node in a declarative way. One of the input properties is an email, so it’s declared as a ‘string’ type. I’d like to validate this as a valid email format in the UI, but I can’t figure out how to do this from the documentation.
Here is my property declaration:
{
displayName: 'Email Query',
description: 'Query to search collaborators by exact email',
name: 'email',
type: 'string',
placeholder: '[email protected]',
default: undefined,
required: true,
routing: {
request: {
qs: {
email: '={{ $value }}',
},
},
},
},
- n8n version: 1.65.2
- Database (default: SQLite): SQLite
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: MacOS